freebsd-dev/usr.sbin/daemon
Kyle Evans 494e7dfdbe 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:	8935a39932 ("daemon: use kqueue for all events")
2023-05-05 10:28:40 -05:00
..
tests daemon: add some basic tests 2021-05-03 09:55:40 -06:00
daemon.8 daemon: add long_opts 2023-02-09 22:36:07 -06:00
daemon.c daemon: EINTR from kevent(2) is not a fatal error 2023-05-05 10:28:40 -05:00
Makefile daemon: add some basic tests 2021-05-03 09:55:40 -06:00
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00