SIGN IN SIGN UP

Deliver hangup events to blocked pollers on unix socket shutdown

The shutdown notification paths only notified ReadableEvents and
WritableEvents, so a poller waiting only for POLLHUP or POLLRDHUP was
never woken and slept until its timeout. Linux wakes all waiters via
sk_state_change(). Notifications now include EventRdHUp and EventHUp
where the closed direction can newly satisfy them; over-notifying is
harmless since woken waiters re-check readiness.

PiperOrigin-RevId: 966685883
S
Shailend Chand committed
5f906c777f74cede136c828b79d814b86a708272
Parent: 29739da
Committed by gVisor bot <gvisor-bot@google.com> on 8/18/2026, 5:54:48 PM