diff options
Diffstat (limited to 'lib/openat-proc.c')
-rw-r--r-- | lib/openat-proc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/openat-proc.c b/lib/openat-proc.c index 6a4f6ad1cf1..7b40bb8f059 100644 --- a/lib/openat-proc.c +++ b/lib/openat-proc.c @@ -32,14 +32,6 @@ #include "intprops.h" -/* The results of open() in this file are not used with fchdir, - and we do not leak fds to any single-threaded code that could use stdio, - therefore save some unnecessary work in fchdir.c. - FIXME - if the kernel ever adds support for multi-thread safety for - avoiding standard fds, then we should use open_safer. */ -#undef open -#undef close - #define PROC_SELF_FD_FORMAT "/proc/self/fd/%d/%s" #define PROC_SELF_FD_NAME_SIZE_BOUND(len) \ |