Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dfdtable.h30 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-v6.6/fs/
Dfile.c63 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()
148 fdt->close_on_exec = data; in alloc_fdtable()
251 __set_bit(fd, fdt->close_on_exec); in __set_close_on_exec()
256 if (test_bit(fd, fdt->close_on_exec)) in __clear_close_on_exec()
257 __clear_bit(fd, fdt->close_on_exec); in __clear_close_on_exec()
336 new_fdt->close_on_exec = newf->close_on_exec_init; in dup_fd()
474 .close_on_exec = init_files.close_on_exec_init,
692 bitmap_set(fdt->close_on_exec, fd, max_fd - fd + 1); in __range_cloexec()
833 set = fdt->close_on_exec[i]; in do_close_on_exec()
[all …]
/Linux-v6.6/arch/um/os-Linux/
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()
/Linux-v6.6/arch/um/include/shared/
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);
/Linux-v6.6/Documentation/filesystems/
Dfiles.rst24 elements - the fd sets (open_fds and close_on_exec, the
/Linux-v6.6/fs/proc/
Dfd.c45 if (close_on_exec(fd, fdt)) in seq_show()