mirror of
https://github.com/systemd/systemd.git
synced 2025-03-30 10:50:15 +03:00
pid1: close fds we receive via sd_notify() and cannot make use of asynchronously
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
This commit is contained in:
parent
33dd894546
commit
4b3d7feb19
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user