HomeFreeBSD

syslogd: Pipes need the CAP_PDGETPID right as well

Description

syslogd: Pipes need the CAP_PDGETPID right as well

While here, use caph_rights_limit(), as syslogd already uses
caph_enter().

PR: 298104
Reported by: mi
Fixes: 24816abb8740 ("syslogd: Limit rights on procdescs")
MFC after: 3 days

Details

Provenance
markjAuthored on Sep 2 2026, 2:41 PM
Parents
rG60d78908f57c: dtrace/tests: compile D sources at runtime on test target
Branches
Unknown
Tags
Unknown