shutdown: paranoia – close all fds we might get passed in
authorLennart Poettering <lennart@poettering.net>
Thu, 27 Apr 2023 13:33:01 +0000 (15:33 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 27 Apr 2023 16:56:24 +0000 (17:56 +0100)
commitdbecd3d6eeafb099bf946511d6885f74a0b80c9d
tree2ec5207174023d22c005283b55cc9846b47e00b1
parentfd34e27fb9903c2e6de85d4cd5e0ca88ffc8f72f
shutdown: paranoia – close all fds we might get passed in

We don't expect any fds (beyond 0…2) to be passed from the service
manager into systemd-shutdown, but let's better be safe then sorry.
src/shutdown/shutdown.c