diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-10-17 14:43:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-17 14:43:19 +0200 |
commit | 49fd31df58a707e7d748581a6986164132460cf2 (patch) | |
tree | fc5ab3f8da2aa54fc09f482558f80b793cc37115 /src/core/bpf-restrict-ifaces.c | |
parent | Merge pull request #34795 from YHNdnzj/bump-kernel-baseline-5.4 (diff) | |
parent | pid1: close fds we receive via sd_notify() and cannot make use of asynchronously (diff) | |
download | systemd-49fd31df58a707e7d748581a6986164132460cf2.tar.xz systemd-49fd31df58a707e7d748581a6986164132460cf2.zip |
Merge pull request #34801 from poettering/async-sd-notify-close
pid1: close unexpected fds received via sd_notify() asyncronously
Diffstat (limited to 'src/core/bpf-restrict-ifaces.c')
-rw-r--r-- | src/core/bpf-restrict-ifaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/bpf-restrict-ifaces.c b/src/core/bpf-restrict-ifaces.c index a39f4895f2..af49abd677 100644 --- a/src/core/bpf-restrict-ifaces.c +++ b/src/core/bpf-restrict-ifaces.c @@ -159,7 +159,7 @@ int bpf_restrict_ifaces_install(Unit *u) { return 0; r = restrict_ifaces_install_impl(u); - fdset_close(crt->initial_restrict_ifaces_link_fds); + fdset_close(crt->initial_restrict_ifaces_link_fds, /* async= */ false); return r; } |