summaryrefslogtreecommitdiffstats
path: root/src/basic/process-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-07-29 16:34:45 +0200
committerLennart Poettering <lennart@poettering.net>2021-10-27 17:56:36 +0200
commite7e7c07c50d980a4494b101a2b1b5e6126c7940f (patch)
tree3c216cb1c0722ef6508222d30f4072319000dc7f /src/basic/process-util.c
parentMerge pull request #21143 from yuwata/sd-radv-router-lifetime (diff)
downloadsystemd-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.c2
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 (;;) {