Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/trace/beauty/include/uapi/linux/
Dsched.h12 #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ macro
/linux-6.12.1/include/uapi/linux/
Dsched.h12 #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ macro
/linux-6.12.1/tools/testing/selftests/mm/
Dpkey_sighandler_tests.c276 CLONE_VM | CLONE_FS | CLONE_FILES | in test_sigsegv_handler_with_different_pkey_for_stack()
435 CLONE_VM | CLONE_FS | CLONE_FILES | in test_pkru_sigreturn()
/linux-6.12.1/init/
Ddo_mounts_initrd.c75 ksys_unshare(CLONE_FS | CLONE_FILES); in init_linuxrc()
Dmain.c712 pid = user_mode_thread(kernel_init, NULL, CLONE_FS); in rest_init()
725 pid = kernel_thread(kthreadd, NULL, NULL, CLONE_FS | CLONE_FILES); in rest_init()
/linux-6.12.1/kernel/
Dvhost_task.c123 .flags = CLONE_FS | CLONE_UNTRACED | CLONE_VM | in vhost_task_create()
Dfork.c1738 if (clone_flags & CLONE_FS) { in copy_fs()
2135 if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS)) in copy_process()
2138 if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) in copy_process()
2722 unsigned long flags = CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD| in create_io_thread()
3188 if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_NEWNS|CLONE_SIGHAND| in check_unshare_flags()
3223 if (!(unshare_flags & CLONE_FS) || !fs) in unshare_fs()
3277 unshare_flags |= CLONE_THREAD | CLONE_FS; in ksys_unshare()
3292 unshare_flags |= CLONE_FS; in ksys_unshare()
Dkthread.c413 CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread()
/linux-6.12.1/tools/perf/util/
Dsideband_evlist.c47 unshare(CLONE_FS); in perf_evlist__poll_thread()
/linux-6.12.1/tools/testing/selftests/memfd/
Dfuse_test.c213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
Dmemfd_test.c1604 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
/linux-6.12.1/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-6.12.1/tools/testing/selftests/sched/
Dcs_prctl_test.c64 const int THREAD_CLONE_FLAGS = CLONE_THREAD | CLONE_SIGHAND | CLONE_FS | CLONE_VM | CLONE_FILES;
/linux-6.12.1/tools/testing/selftests/x86/
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()
/linux-6.12.1/tools/perf/
Dbuiltin-top.c631 unshare(CLONE_FS); in display_thread_tui()
685 unshare(CLONE_FS); in display_thread()