Home
last modified time | relevance | path

Searched refs:CLONE_FS (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/tools/include/uapi/linux/
Dsched.h10 #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ macro
/Linux-v4.19/include/uapi/linux/
Dsched.h10 #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ macro
/Linux-v4.19/init/
Ddo_mounts_initrd.c29 ksys_unshare(CLONE_FS | CLONE_FILES); in init_linuxrc()
Dmain.c408 pid = kernel_thread(kernel_init, NULL, CLONE_FS); in rest_init()
420 pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES); in rest_init()
/Linux-v4.19/kernel/
Dfork.c1345 if (clone_flags & CLONE_FS) { in copy_fs()
1646 if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS)) in copy_process()
1649 if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) in copy_process()
2365 if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_NEWNS|CLONE_SIGHAND| in check_unshare_flags()
2399 if (!(unshare_flags & CLONE_FS) || !fs) in unshare_fs()
2453 unshare_flags |= CLONE_THREAD | CLONE_FS; in ksys_unshare()
2468 unshare_flags |= CLONE_FS; in ksys_unshare()
Dkthread.c269 pid = kernel_thread(kthread, create, CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread()
/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/userspace-api/
Dunshare.rst148 CLONE_FS
149 If CLONE_FS is set, file system information of the caller
266 CLONE_NEWNS is set, force CLONE_FS.
/Linux-v4.19/tools/perf/
Dbuiltin-top.c592 unshare(CLONE_FS); in display_thread_tui()
642 unshare(CLONE_FS); in display_thread()