Home
last modified time | relevance | path

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

/linux/tools/include/uapi/linux/
H A Dsched.h
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dsched.h12 #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ macro
/linux/kernel/
H A Dvhost_task.c124 .flags = CLONE_FS | CLONE_UNTRACED | CLONE_VM | in vhost_task_create()
H A Dfork.c1599 if (clone_flags & CLONE_FS) { in copy_fs()
1986 if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS)) in copy_process()
1989 if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) in copy_process()
2649 unsigned long flags = CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD| in create_io_thread()
3117 if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_SIGHAND| in check_unshare_flags()
3150 if (!(unshare_flags & CLONE_FS) || !fs) in unshare_fs()
3204 unshare_flags |= CLONE_THREAD | CLONE_FS; in ksys_unshare()
3221 unshare_flags |= CLONE_FS; in ksys_unshare()
H A Dkthread.c460 CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread()
/linux/tools/testing/selftests/mm/
H A Dpkey_sighandler_tests.c326 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/tools/perf/util/
H A Dsideband_evlist.c47 unshare(CLONE_FS); in perf_evlist__poll_thread()
/linux/tools/testing/selftests/memfd/
H A Dfuse_test.c213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
H A Dmemfd_test.c1754 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
/linux/Documentation/userspace-api/
H A 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/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;
/linux/tools/testing/selftests/x86/
H A Dlam.c869 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, NULL); in handle_thread()
897 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, test); in handle_thread_enable()
/linux/tools/perf/
H A Dbuiltin-top.c633 unshare(CLONE_FS); in display_thread_tui()
688 unshare(CLONE_FS); in display_thread()