https://bugzilla.mindrot.org/show_bug.cgi?id=3531

--- Comment #5 from Damien Miller <[email protected]> ---
That sort of race condition is exactly what ppoll() is designed to
avoid. 

We can test quit_pending with signals blocked and have ppoll(3)
atomically unblock them, so it would instantly be interrupted if a
SIGTERM came in before ppoll() started. Have a look at how serverloop.c
does it.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to