Revert "Add variant of close_all_fds() that does not allocate and use it in freeze()"

This reverts commit cbcf371abc.
This commit is contained in:
Lennart Poettering
2021-10-27 17:56:36 +02:00
parent eef5ebec97
commit e7e7c07c50
3 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -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 (;;) {