Date: Tue, 02 Jul 2024 07:05:07 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277959] Refactor of usr.sbin/daemon caused regression in restart parameter Message-ID: <bug-277959-227-OSu7Oh41Mn@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-277959-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277959 --- Comment #6 from Kyle Evans <kevans@freebsd.org> --- I have a tentative patch for this, but I'm still thinking about it a little bit. My current approach is to pull the kqueue out of the eventloop and stop recreating it every time; the pipe read event will drop out when we close the read-side and leave just the signals. daemon_sleep() then switches to using a one-shot EVFILT_TIMER instead of nanosleep(2) so that it can still process signals received in the interim following a previously processed SIGCHLD. -- You are receiving this mail because: You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277959-227-OSu7Oh41Mn>
