HomeFreeBSD

syslogd: Use process descriptors

Description

syslogd: Use process descriptors

Prepare for program Capsicumization by storing process descriptors
instead of pids. Signal delivery is not permitted in capability mode,
so we can use pdkill(2) to terminate child processes.

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

Details

Provenance
jfreeAuthored on Sep 1 2023, 2:50 AM
markjCommitted on Sep 28 2023, 3:51 PM
Reviewer
markj
Differential Revision
D41369: syslogd: Use process descriptors
Parents
rG599db1e026c7: syslogd: Simplify filed structure
Branches
Unknown
Tags
Unknown