diff options
author | Jamie Liu <jamieliu@google.com> | 2020-07-06 22:54:01 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-06 22:55:48 -0700 |
commit | e227450dc1ec1ef07b9a6a5983ce2f2e0dec22b1 (patch) | |
tree | fdbbae656066f108a85c165934bf509b7f4271ca /pkg/sentry/arch/arch_amd64.s | |
parent | 937912a4847cb1fd2acb79c0dd8fbc4b27695156 (diff) |
Call fdnotifier.UpdateFD() from fsimpl/gofer.specialFileFD.
The fdnotifier package provides an API to a thread that continually epolls
arbitrary host FDs. The set of events polled for each host FD is (intended to
be) all events for which a waiter.Entry has expressed interest, as returned by
waiter.Queue.Events() for the waiter.Queue registered to the given host FD.
When the set of events changes (due to a change in the set of registered
waiter.Entries), the mutator must call fdnotifier.UpdateFD() to recalculate the
new event set and propagate it to the epoll FD.
PiperOrigin-RevId: 319924719
Diffstat (limited to 'pkg/sentry/arch/arch_amd64.s')
0 files changed, 0 insertions, 0 deletions