HomeFreeBSD

daemon: EINTR from kevent(2) is not a fatal error

Description

daemon: EINTR from kevent(2) is not a fatal error

Simply resume waiting for events rather than exiting if we took a signal
here.

This at least fixes running programs under daemon(8) in the face of
suspend/resume, which I suspect hits us with a spurious EINTR rather
than a signal anyways.

Reported and tested by: manu
Fixes: 8935a3993219b ("daemon: use kqueue for all events")

Details

Provenance
kevansAuthored on May 5 2023, 3:12 PM
Parents
rGc2eae5c39adc: man9: Add a manual page for kstack_contains(9).
Branches
Unknown
Tags
Unknown