Home
last modified time | relevance | path

Searched refs:close_on_exec (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/include/linux/
H A Dfdtable.h29 unsigned long *close_on_exec; member
35 static inline bool close_on_exec(unsigned int fd, const struct fdtable *fdt) in close_on_exec() function
37 return test_bit(fd, fdt->close_on_exec); in close_on_exec()
/openbmc/linux/fs/
H A Dfile.c62 bitmap_copy_and_extend(nfdt->close_on_exec, ofdt->close_on_exec, in copy_fd_bitmaps()
144 fdt->close_on_exec = data; in alloc_fdtable()
247 __set_bit(fd, fdt->close_on_exec); in __set_close_on_exec()
252 if (test_bit(fd, fdt->close_on_exec)) in __clear_close_on_exec()
253 __clear_bit(fd, fdt->close_on_exec); in __clear_close_on_exec()
318 new_fdt->close_on_exec = newf->close_on_exec_init; in dup_fd()
455 .close_on_exec = init_files.close_on_exec_init,
673 bitmap_set(fdt->close_on_exec, fd, max_fd - fd + 1); in __range_cloexec()
802 set = fdt->close_on_exec[i]; in do_close_on_exec()
805 fdt->close_on_exec[i] = 0; in do_close_on_exec()
[all …]
/openbmc/linux/arch/um/os-Linux/
H A Dfile.c375 int os_pipe(int *fds, int stream, int close_on_exec) in os_pipe() argument
383 if (!close_on_exec) in os_pipe()
545 int os_create_unix_socket(const char *file, int len, int close_on_exec) in os_create_unix_socket() argument
554 if (close_on_exec) { in os_create_unix_socket()
/openbmc/linux/arch/um/include/shared/
H A Dos.h159 extern int os_pipe(int *fd, int stream, int close_on_exec);
164 extern int os_create_unix_socket(const char *file, int len, int close_on_exec);
/openbmc/linux/Documentation/filesystems/
H A Dfiles.rst24 elements - the fd sets (open_fds and close_on_exec, the
/openbmc/linux/fs/proc/
H A Dfd.c45 if (close_on_exec(fd, fdt)) in seq_show()