Home
last modified time | relevance | path

Searched refs:CLONE_FS (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dsched.h10 #define CLONE_FS 0x00000200 macro
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dsched.h12 #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ macro
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dsched.h12 #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dsched.h12 #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ macro
/kernel/linux/linux-6.6/kernel/
H A Dvhost_task.c110 .flags = CLONE_FS | CLONE_UNTRACED | CLONE_VM | in vhost_task_create()
H A Dfork.c1763 if (clone_flags & CLONE_FS) { in copy_fs()
2271 if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS)) in copy_process()
2274 if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) in copy_process()
2860 unsigned long flags = CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD| in create_io_thread()
3325 if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_NEWNS|CLONE_SIGHAND| in check_unshare_flags()
3360 if (!(unshare_flags & CLONE_FS) || !fs) in unshare_fs()
3415 unshare_flags |= CLONE_THREAD | CLONE_FS; in ksys_unshare()
3430 unshare_flags |= CLONE_FS; in ksys_unshare()
[all...]
H A Dkthread.c412 CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread()
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dsched.h12 #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dsched.h24 #define CLONE_FS 0x00000200 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dsched.h24 #define CLONE_FS 0x00000200 macro
/kernel/linux/linux-5.10/tools/perf/util/
H A Dsideband_evlist.c47 unshare(CLONE_FS); in perf_evlist__poll_thread()
/kernel/linux/linux-5.10/init/
H A Ddo_mounts_initrd.c56 ksys_unshare(CLONE_FS | CLONE_FILES); in init_linuxrc()
H A Dmain.c691 pid = kernel_thread(kernel_init, NULL, CLONE_FS); in rest_init()
703 pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES); in rest_init()
/kernel/linux/linux-6.6/init/
H A Ddo_mounts_initrd.c76 ksys_unshare(CLONE_FS | CLONE_FILES); in init_linuxrc()
H A Dmain.c696 pid = user_mode_thread(kernel_init, NULL, CLONE_FS); in rest_init()
709 pid = kernel_thread(kthreadd, NULL, NULL, CLONE_FS | CLONE_FILES); in rest_init()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dsideband_evlist.c47 unshare(CLONE_FS); in perf_evlist__poll_thread()
/kernel/linux/linux-5.10/kernel/
H A Dfork.c1469 if (clone_flags & CLONE_FS) { in copy_fs()
1899 if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS)) in copy_process()
1902 if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) in copy_process()
2467 unsigned long flags = CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD| in create_io_thread()
2902 if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_NEWNS|CLONE_SIGHAND| in check_unshare_flags()
2937 if (!(unshare_flags & CLONE_FS) || !fs) in unshare_fs()
2992 unshare_flags |= CLONE_THREAD | CLONE_FS; in ksys_unshare()
3007 unshare_flags |= CLONE_FS; in ksys_unshare()
[all...]
H A Dkthread.c336 pid = kernel_thread(kthread, create, CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread()
/kernel/linux/linux-5.10/tools/testing/selftests/memfd/
H A Dfuse_test.c213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
H A Dmemfd_test.c1070 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/memfd/
H A Dfuse_test.c213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
/kernel/linux/linux-6.6/tools/testing/selftests/sched/
H A Dcs_prctl_test.c64 const int THREAD_CLONE_FLAGS = CLONE_THREAD | CLONE_SIGHAND | CLONE_FS | CLONE_VM | CLONE_FILES;
/kernel/linux/linux-6.6/tools/testing/selftests/x86/
H A Dlam.c765 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, NULL); in handle_thread()
793 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, test); in handle_thread_enable()
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-top.c627 unshare(CLONE_FS); in display_thread_tui()
685 unshare(CLONE_FS); in display_thread()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-top.c631 unshare(CLONE_FS); in display_thread_tui()
686 unshare(CLONE_FS); in display_thread()

Completed in 26 milliseconds

12