HomeFreeBSD

syslogd: Use pipe to communicate with daemon

Description

syslogd: Use pipe to communicate with daemon

Previously, syslogd's daemon process would signal that it had finished
initialization using SIGALRM. In capability mode, signal delivery is not
allowed, so use a pipe to indicate that it is ready to accept messages.

Reviewed by: markj
MFC after: 3 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41459

Details

Provenance
jfreeAuthored on Sep 1 2023, 2:51 AM
markjCommitted on Sep 28 2023, 3:51 PM
Reviewer
markj
Differential Revision
D41459: syslogd: Use pipe to communicate with daemon
Parents
rG4ac6582472a2: syslogd: Ignore signals in sigcatch[]
Branches
Unknown
Tags
Unknown