Home
last modified time | relevance | path

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

/linux/include/linux/
A 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/fs/
A 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()
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 Dos.h153 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 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/fs/proc/
A Dfd.c43 if (close_on_exec(fd, fdt)) in seq_show()
/linux/Documentation/filesystems/
A Dfiles.rst24 elements - the fd sets (open_fds and close_on_exec, the

Completed in 11 milliseconds