Searched refs:CLONE_FS (Results 1 – 15 of 15) sorted by relevance
| /linux-6.15/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | sched.h | 12 #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ macro
|
| /linux-6.15/include/uapi/linux/ |
| H A D | sched.h | 12 #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ macro
|
| /linux-6.15/init/ |
| H A D | do_mounts_initrd.c | 75 ksys_unshare(CLONE_FS | CLONE_FILES); in init_linuxrc()
|
| H A D | main.c | 708 pid = user_mode_thread(kernel_init, NULL, CLONE_FS); in rest_init() 721 pid = kernel_thread(kthreadd, NULL, NULL, CLONE_FS | CLONE_FILES); in rest_init()
|
| /linux-6.15/kernel/ |
| H A D | vhost_task.c | 123 .flags = CLONE_FS | CLONE_UNTRACED | CLONE_VM | in vhost_task_create()
|
| H A D | fork.c | 1801 if (clone_flags & CLONE_FS) { in copy_fs() 2191 if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS)) in copy_process() 2194 if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) in copy_process() 2781 unsigned long flags = CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD| in create_io_thread() 3251 if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_NEWNS|CLONE_SIGHAND| in check_unshare_flags() 3286 if (!(unshare_flags & CLONE_FS) || !fs) in unshare_fs() 3340 unshare_flags |= CLONE_THREAD | CLONE_FS; in ksys_unshare() 3355 unshare_flags |= CLONE_FS; in ksys_unshare()
|
| H A D | kthread.c | 488 CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread()
|
| /linux-6.15/tools/testing/selftests/mm/ |
| H A D | pkey_sighandler_tests.c | 326 long ret = clone_raw(CLONE_VM | CLONE_FS | CLONE_FILES | in test_sigsegv_handler_with_different_pkey_for_stack() 497 long ret = clone_raw(CLONE_VM | CLONE_FS | CLONE_FILES | in test_pkru_sigreturn()
|
| /linux-6.15/tools/perf/util/ |
| H A D | sideband_evlist.c | 47 unshare(CLONE_FS); in perf_evlist__poll_thread()
|
| /linux-6.15/tools/testing/selftests/memfd/ |
| H A D | fuse_test.c | 213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
|
| H A D | memfd_test.c | 1657 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
|
| /linux-6.15/Documentation/userspace-api/ |
| H A D | unshare.rst | 148 CLONE_FS 149 If CLONE_FS is set, file system information of the caller 266 CLONE_NEWNS is set, force CLONE_FS.
|
| /linux-6.15/tools/testing/selftests/sched/ |
| H A D | cs_prctl_test.c | 64 const int THREAD_CLONE_FLAGS = CLONE_THREAD | CLONE_SIGHAND | CLONE_FS | CLONE_VM | CLONE_FILES;
|
| /linux-6.15/tools/testing/selftests/x86/ |
| H A D | lam.c | 867 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, NULL); in handle_thread() 895 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, test); in handle_thread_enable()
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-top.c | 631 unshare(CLONE_FS); in display_thread_tui() 685 unshare(CLONE_FS); in display_thread()
|