mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
91f58d2cc8
Instead of passing the event mask at registratrion time, pass the mask as part of the waiter. This makes the mask immutable and simplifies the architecture of waiters. This is also necessary for a future fix that will allow the fdnotifier to keep persistent entries, as opposed to requiring constant updates. This change is intended to be a no-op in terms of function. The only exception is signalfd, where this mask was abused. To handle this case, the operation of signalfd changed to allow one layer of indirection. PiperOrigin-RevId: 409702998