HomeFreeBSD

syslog: fix PID of forking process

Description

syslog: fix PID of forking process

Do not cache PID for a process that does not fabricate it,
calls openlog() before forking and does not call exec() thereafter.

PR: 268666
Fixes: e9ae9fa93745669b7dd0341d333257ad6cfe8e37
Tested by: kp
MFC after: 3 days

Details

Provenance
eugen_grosbein.netAuthored on Jan 3 2023, 8:53 AM
Parents
rG17f2b12a3877: linuxkpi: Define `lockdep_assert_none_held_once()`
Branches
Unknown
Tags
Unknown