Searched refs:close_on_exec (Results 1 – 6 of 6) sorted by relevance
/linux/include/linux/ |
A D | fdtable.h | 30 unsigned long *close_on_exec; member 36 static inline bool close_on_exec(unsigned int fd, const struct fdtable *fdt) in close_on_exec() function 38 return test_bit(fd, fdt->close_on_exec); in close_on_exec()
|
/linux/fs/ |
A D | file.c | 63 memcpy(nfdt->close_on_exec, ofdt->close_on_exec, cpy); in copy_fd_bitmaps() 64 memset((char *)nfdt->close_on_exec + cpy, 0, set); in copy_fd_bitmaps() 132 fdt->close_on_exec = data; in alloc_fdtable() 235 __set_bit(fd, fdt->close_on_exec); in __set_close_on_exec() 240 if (test_bit(fd, fdt->close_on_exec)) in __clear_close_on_exec() 241 __clear_bit(fd, fdt->close_on_exec); in __clear_close_on_exec() 307 new_fdt->close_on_exec = newf->close_on_exec_init; in dup_fd() 445 .close_on_exec = init_files.close_on_exec_init, 821 set = fdt->close_on_exec[i]; in do_close_on_exec() 824 fdt->close_on_exec[i] = 0; in do_close_on_exec() [all …]
|
/linux/arch/um/include/shared/ |
A D | os.h | 153 extern int os_pipe(int *fd, int stream, int close_on_exec); 158 extern int os_create_unix_socket(const char *file, int len, int close_on_exec); 162 extern int create_unix_socket(char *file, int len, int close_on_exec);
|
/linux/arch/um/os-Linux/ |
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()
|
/linux/fs/proc/ |
A D | fd.c | 43 if (close_on_exec(fd, fdt)) in seq_show()
|
/linux/Documentation/filesystems/ |
A D | files.rst | 24 elements - the fd sets (open_fds and close_on_exec, the
|
Completed in 11 milliseconds