Searched refs:close_on_exec (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/fs/ |
D | file.c | 78 memcpy(nfdt->close_on_exec, ofdt->close_on_exec, cpy); in copy_fdtable() 79 memset((char *)(nfdt->close_on_exec) + cpy, 0, set); in copy_fdtable() 123 fdt->close_on_exec = data; in alloc_fdtable() 207 __set_bit(fd, fdt->close_on_exec); in __set_close_on_exec() 212 __clear_bit(fd, fdt->close_on_exec); in __clear_close_on_exec() 262 new_fdt->close_on_exec = newf->close_on_exec_init; in dup_fd() 306 memcpy(new_fdt->close_on_exec, old_fdt->close_on_exec, open_files / 8); in dup_fd() 336 memset(&new_fdt->close_on_exec[start], 0, left); in dup_fd() 436 .close_on_exec = init_files.close_on_exec_init, 609 set = fdt->close_on_exec[i]; in do_close_on_exec() [all …]
|
D | exec.c | 1549 if (close_on_exec(fd, rcu_dereference_raw(current->files->fdt))) in do_execveat_common()
|
/linux-4.1.27/include/linux/ |
D | fdtable.h | 27 unsigned long *close_on_exec; member 32 static inline bool close_on_exec(int fd, const struct fdtable *fdt) in close_on_exec() function 34 return test_bit(fd, fdt->close_on_exec); in close_on_exec()
|
/linux-4.1.27/arch/um/include/shared/ |
D | os.h | 148 extern int os_pipe(int *fd, int stream, int close_on_exec); 153 extern int os_create_unix_socket(const char *file, int len, int close_on_exec); 157 extern int create_unix_socket(char *file, int len, int close_on_exec);
|
/linux-4.1.27/arch/um/os-Linux/ |
D | file.c | 349 int os_pipe(int *fds, int stream, int close_on_exec) in os_pipe() argument 357 if (!close_on_exec) in os_pipe() 519 int os_create_unix_socket(const char *file, int len, int close_on_exec) in os_create_unix_socket() argument 528 if (close_on_exec) { in os_create_unix_socket()
|
/linux-4.1.27/fs/proc/ |
D | fd.c | 42 if (close_on_exec(fd, fdt)) in seq_show()
|
/linux-4.1.27/Documentation/filesystems/ |
D | files.txt | 21 elements - the fd sets (open_fds and close_on_exec, the
|