]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replace two fat signal handlers with function calls in
authorhrs <hrs@FreeBSD.org>
Sat, 31 Dec 2016 06:23:05 +0000 (06:23 +0000)
committerhrs <hrs@FreeBSD.org>
Sat, 31 Dec 2016 06:23:05 +0000 (06:23 +0000)
commit0509b89e5cf25714f45bcbfc4662f57e79022ae8
treee6840cf6db21cf2e457248b98735de34247df2b9
parent6fd9b417bb275941e56cf97a6314242f461c3f0e
Replace two fat signal handlers with function calls in
the main I/O multiplex loop.  select() now watches
a pipe which is written by the new skinny signal
handlers and the received signals are handled inside
the loop sequencially.

This eliminates a complex signal mask to guarantee
async-signal safety.
usr.sbin/syslogd/syslogd.c