Searched refs:close_on_exec (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/include/linux/ |
| H A D | fdtable.h | 29 unsigned long *close_on_exec; member 95 static inline bool close_on_exec(unsigned int fd, const struct files_struct *files) in close_on_exec() function 97 return test_bit(fd, files_fdtable(files)->close_on_exec); in close_on_exec()
|
| /linux-6.15/fs/ |
| H A D | file.c | 131 bitmap_copy_and_extend(nfdt->close_on_exec, ofdt->close_on_exec, in copy_fd_bitmaps() 216 fdt->close_on_exec = data; in alloc_fdtable() 311 __set_bit(fd, fdt->close_on_exec); in __set_close_on_exec() 313 if (test_bit(fd, fdt->close_on_exec)) in __set_close_on_exec() 314 __clear_bit(fd, fdt->close_on_exec); in __set_close_on_exec() 387 new_fdt->close_on_exec = newf->close_on_exec_init; in dup_fd() 521 .close_on_exec = init_files.close_on_exec_init, 734 bitmap_set(fdt->close_on_exec, fd, max_fd - fd + 1); in __range_cloexec() 860 set = fdt->close_on_exec[i]; in do_close_on_exec() 863 fdt->close_on_exec[i] = 0; in do_close_on_exec() [all …]
|
| /linux-6.15/arch/um/os-Linux/ |
| H A D | file.c | 380 int os_pipe(int *fds, int stream, int close_on_exec) in os_pipe() argument 388 if (!close_on_exec) in os_pipe() 557 int os_create_unix_socket(const char *file, int len, int close_on_exec) in os_create_unix_socket() argument 566 if (close_on_exec) { in os_create_unix_socket()
|
| /linux-6.15/arch/um/include/shared/ |
| H A D | os.h | 158 extern int os_pipe(int *fd, int stream, int close_on_exec); 163 extern int os_create_unix_socket(const char *file, int len, int close_on_exec);
|
| /linux-6.15/fs/proc/ |
| H A D | fd.c | 43 if (close_on_exec(fd, files)) in seq_show()
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | files.rst | 24 elements - the fd sets (open_fds and close_on_exec, the
|