Home
last modified time | relevance | path

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

/Linux-v4.19/arch/um/kernel/skas/
Dclone.c30 err = stub_syscall2(__NR_clone, CLONE_PARENT | CLONE_FILES | SIGCHLD, in stub_clone_handler()
/Linux-v4.19/tools/include/uapi/linux/
Dsched.h11 #define CLONE_FILES 0x00000400 /* set if open files shared between processes */ macro
/Linux-v4.19/include/uapi/linux/
Dsched.h11 #define CLONE_FILES 0x00000400 /* set if open files shared between processes */ macro
/Linux-v4.19/arch/um/drivers/
Dubd_user.c50 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-v4.19/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-v4.19/init/
Ddo_mounts_initrd.c29 ksys_unshare(CLONE_FS | CLONE_FILES); in init_linuxrc()
Dmain.c420 pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES); in rest_init()
/Linux-v4.19/tools/testing/selftests/proc/
Dfd-001-lookup.c104 if (unshare(CLONE_FILES) == -1) in main()
/Linux-v4.19/tools/testing/selftests/memfd/
Dfuse_test.c212 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
Dmemfd_test.c959 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
/Linux-v4.19/Documentation/filesystems/
Dfiles.txt11 table between tasks cloned with CLONE_FILES flag. Typically
/Linux-v4.19/kernel/
Dfork.c1374 if (clone_flags & CLONE_FILES) { in copy_files()
2366 CLONE_VM|CLONE_FILES|CLONE_SYSVSEM| in check_unshare_flags()
2421 if ((unshare_flags & CLONE_FILES) && in unshare_fd()
2572 error = unshare_fd(CLONE_FILES, &copy); in unshare_files()
Dkthread.c269 pid = kernel_thread(kthread, create, CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread()
/Linux-v4.19/arch/um/os-Linux/skas/
Dprocess.c284 flags = CLONE_FILES | SIGCHLD; in start_userspace()
/Linux-v4.19/Documentation/userspace-api/
Dunshare.rst152 CLONE_FILES
153 If CLONE_FILES is set, the file descriptor table of the