pidref: hookup PID_AUTOMATIC special pid_t value with PidRef
authorLennart Poettering <lennart@poettering.net>
Mon, 14 Oct 2024 10:31:57 +0000 (12:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 14 Oct 2024 10:44:36 +0000 (12:44 +0200)
commitde34ec188c4d4f682a337445aa7753259cd7f821
treec9b0b4c8d6716185324158c150f9b49a3233f4fe
parent8d24b2f01738dd1fd4c990ea80faea3da7de494a
pidref: hookup PID_AUTOMATIC special pid_t value with PidRef

The PID_AUTOMATIC value is now properly recognized by the PidRef logic
too. This needed some massaging of header includes, to ensure pidref.h
can access process-util.h's definitions and vice versa.
src/basic/namespace-util.h
src/basic/pidref.c
src/basic/pidref.h
src/basic/process-util.h
src/libsystemd/sd-json/json-util.c
src/test/test-pidref.c