projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33dd894
)
pid1: close fds we receive via sd_notify() and cannot make use of asynchronously
author
Lennart Poettering
<lennart@poettering.net>
Thu, 17 Oct 2024 07:46:16 +0000
(09:46 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 17 Oct 2024 07:50:57 +0000
(09:50 +0200)
This addresses #11112 fully. It mostly was addressed by
99620f457ed0886852ba18c9093b59767299121c
already, but for fds not
even passed to the fdstore, this adds the missing asynchronous close
codepath.
Fixes: #11112
src/core/manager.c
patch
|
blob
|
history
diff --git
a/src/core/manager.c
b/src/core/manager.c
index b9ea79a7adacc214e7410fce23875f126063854f..8e033c69c4244df0800909a91191b1d0f4fbe280 100644
(file)
--- a/
src/core/manager.c
+++ b/
src/core/manager.c
@@
-2793,7
+2793,7
@@
static int manager_dispatch_notify_fd(sd_event_source *source, int fd, uint32_t
}
}
- _cleanup_
fdset_free_
FDSet *fds = NULL;
+ _cleanup_
(fdset_free_asyncp)
FDSet *fds = NULL;
if (n_fds > 0) {
assert(fd_array);