sd-bus: close peer pidfd
authorChristian Göttsche <cgzones@googlemail.com>
Sun, 19 May 2024 13:56:18 +0000 (15:56 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 22 May 2024 20:08:44 +0000 (22:08 +0200)
commit9fb2db89e3c97e4f6cecf94ec9da5508ce32a470
treec56388c8e8699d80f807014fa987c58fde9758b2
parentf5faf4ec5b2523d964565b7b8bcc79a2fb4cf3fc
sd-bus: close peer pidfd

Do not leak the pidfd of the peer.

Fixes: 71be64064c9e ("sd-bus: add pidfd to the sd_bus_creds structure")
src/libsystemd/sd-bus/sd-bus.c