diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-07-29 16:34:45 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-10-27 17:56:36 +0200 |
commit | e7e7c07c50d980a4494b101a2b1b5e6126c7940f (patch) | |
tree | 3c216cb1c0722ef6508222d30f4072319000dc7f /src/basic/process-util.c | |
parent | Merge pull request #21143 from yuwata/sd-radv-router-lifetime (diff) | |
download | systemd-e7e7c07c50d980a4494b101a2b1b5e6126c7940f.tar.xz systemd-e7e7c07c50d980a4494b101a2b1b5e6126c7940f.zip |
Revert "Add variant of close_all_fds() that does not allocate and use it in freeze()"
This reverts commit cbcf371abc328167fa869721c1add4850c793240.
Diffstat (limited to '')
-rw-r--r-- | src/basic/process-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/process-util.c b/src/basic/process-util.c index 38df34e339..fef0c742c7 100644 --- a/src/basic/process-util.c +++ b/src/basic/process-util.c @@ -1622,7 +1622,7 @@ _noreturn_ void freeze(void) { log_close(); /* Make sure nobody waits for us on a socket anymore */ - (void) close_all_fds_full(NULL, 0, false); + (void) close_all_fds(NULL, 0); /* Let's not freeze right away, but keep reaping zombies. */ for (;;) { |