]> git.ipfire.org Git - thirdparty/systemd.git/commit
pam_systemd: drop "pid" field from SessionContext
authorLennart Poettering <lennart@poettering.net>
Fri, 15 Nov 2024 13:36:22 +0000 (14:36 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 Dec 2024 16:52:08 +0000 (17:52 +0100)
commit014d23c3955ac2c2c6fc7c8e235daccae201c8fd
treee0ccfb602b947f1750394d181ddc543e32789dd1
parent6082ccf792abe3ed423e3f818f50f024f36e7637
pam_systemd: drop "pid" field from SessionContext

We never use the field and this is not going to change...

This addresses a weird asymmetry, as create_session_message() always
went to the process' own PID when doing pidfds but otherwise (i.e.
without pidfds) would honour the PID specified as function parameter.
src/login/pam_systemd.c