From 11966552a88039869972ca4b450f622664bd1c5e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 12 Oct 2021 15:53:27 +0200 Subject: fd-util: split out inner fallback loop of close_all_fds() as close_all_fds_without_malloc() --- src/basic/fd-util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/basic/fd-util.h') diff --git a/src/basic/fd-util.h b/src/basic/fd-util.h index 459059c64e..e929386b53 100644 --- a/src/basic/fd-util.h +++ b/src/basic/fd-util.h @@ -58,6 +58,7 @@ int fd_nonblock(int fd, bool nonblock); int fd_cloexec(int fd, bool cloexec); int close_all_fds(const int except[], size_t n_except); +int close_all_fds_without_malloc(const int except[], size_t n_except); int same_fd(int a, int b); -- cgit v1.2.3