Skip site navigation (1)Skip section navigation (2)
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/>
References:  <bug-277959-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277959

--- 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 st=
op
recreating it every time; the pipe read event will drop out when we close t=
he
read-side and leave just the signals.  daemon_sleep() then switches to usin=
g 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.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277959-227-OSu7Oh41Mn>