HomeFreeBSD

syslogd: Fix function return test

Description

syslogd: Fix function return test

Looks like during the capsicum setup the return value for cap_syslogd
is checked twice rather than checking the return value of cap_net
after initializing the casper service.

Signed-off-by: Nathan Huff <nhuff@acm.org>
Fixes: 897240c7d666 ("syslogd: Enter capability mode")
Pull-request: https://github.com/freebsd/freebsd-src/pull/1796

Details

Provenance
Nathan Huff <nhuff@acm.org>Authored on Jul 29 2025, 9:58 PM
emasteCommitted on Jul 30 2025, 10:32 PM
Parents
rG2e3fa9395fc6: swapongeom: destroy consumer/close vnode in case swaponsomething failed
Branches
Unknown
Tags
Unknown