Searched refs:close_on_exec (Results 1 - 5 of 5) sorted by relevance

/linux-master/include/linux/
H A Dfdtable.h30 unsigned long *close_on_exec; member in struct:fdtable
36 static inline bool close_on_exec(unsigned int fd, const struct fdtable *fdt) function
38 return test_bit(fd, fdt->close_on_exec);
/linux-master/fs/
H A Dfile.c63 memcpy(nfdt->close_on_exec, ofdt->close_on_exec, cpy);
64 memset((char *)nfdt->close_on_exec + cpy, 0, set);
148 fdt->close_on_exec = data;
251 __set_bit(fd, fdt->close_on_exec);
256 if (test_bit(fd, fdt->close_on_exec))
257 __clear_bit(fd, fdt->close_on_exec);
336 new_fdt->close_on_exec = newf->close_on_exec_init;
474 .close_on_exec = init_files.close_on_exec_init,
699 bitmap_set(fdt->close_on_exec, f
[all...]
/linux-master/arch/um/os-Linux/
H A Dfile.c375 int os_pipe(int *fds, int stream, int close_on_exec) argument
383 if (!close_on_exec)
545 int os_create_unix_socket(const char *file, int len, int close_on_exec) argument
554 if (close_on_exec) {
558 "close_on_exec failed, err = %d", -err);
/linux-master/arch/um/include/shared/
H A 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-master/fs/proc/
H A Dfd.c45 if (close_on_exec(fd, fdt))

Completed in 152 milliseconds