Searched refs:close_on_exec (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | fdtable.h | 29 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 D | file.c | 62 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 D | file.c | 375 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 D | os.h | 159 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 D | files.rst | 24 elements - the fd sets (open_fds and close_on_exec, the
|
/openbmc/linux/fs/proc/ |
H A D | fd.c | 45 if (close_on_exec(fd, fdt)) in seq_show()
|