Home
last modified time | relevance | path

Searched refs:CLONE_FILES (Results 1 – 17 of 17) sorted by relevance

/linux-4.1.27/include/uapi/linux/
Dsched.h10 #define CLONE_FILES 0x00000400 /* set if open files shared between processes */ macro
/linux-4.1.27/arch/um/kernel/skas/
Dclone.c29 err = stub_syscall2(__NR_clone, CLONE_PARENT | CLONE_FILES | SIGCHLD, in stub_clone_handler()
/linux-4.1.27/arch/um/drivers/
Dubd_user.c43 pid = clone(io_thread, (void *) sp, CLONE_FILES | CLONE_VM, NULL); in start_io_thread()
Dchan_user.c241 err = run_helper_thread(winch_thread, &data, CLONE_FILES, stack_out); in winch_tramp()
/linux-4.1.27/arch/um/os-Linux/
Daio.c219 CLONE_FILES | CLONE_VM, &aio_stack); in init_aio_24()
255 CLONE_FILES | CLONE_VM, &aio_stack); in init_aio_26()
Dsigio.c309 CLONE_FILES | CLONE_VM, in write_sigio_workaround()
/linux-4.1.27/init/
Ddo_mounts_initrd.c38 sys_unshare(CLONE_FS | CLONE_FILES); in init_linuxrc()
Dmain.c396 pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES); in rest_init()
/linux-4.1.27/arch/mn10300/kernel/
Dasm-offsets.c81 DEFINE(CLONE_FILES_asm, CLONE_FILES); in foo()
/linux-4.1.27/tools/testing/selftests/memfd/
Dfuse_test.c213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
Dmemfd_test.c897 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
/linux-4.1.27/kernel/
Dfork.c1017 if (clone_flags & CLONE_FILES) { in copy_files()
1852 CLONE_VM|CLONE_FILES|CLONE_SYSVSEM| in check_unshare_flags()
1907 if ((unshare_flags & CLONE_FILES) && in unshare_fd()
2050 error = unshare_fd(CLONE_FILES, &copy); in unshare_files()
Dkmod.c315 CLONE_FS | CLONE_FILES | SIGCHLD); in __call_usermodehelper()
Dkthread.c231 pid = kernel_thread(kthread, create, CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread()
/linux-4.1.27/Documentation/filesystems/
Dfiles.txt11 table between tasks cloned with CLONE_FILES flag. Typically
/linux-4.1.27/arch/um/os-Linux/skas/
Dprocess.c267 flags = CLONE_FILES | SIGCHLD; in start_userspace()
/linux-4.1.27/Documentation/
Dunshare.txt145 CLONE_FILES
146 If CLONE_FILES is set, the file descriptor table of the