Home
last modified time | relevance | path

Searched refs:CLONE_THREAD (Results 1 – 11 of 11) sorted by relevance

/linux/kernel/
H A Dfork.c1743 if (clone_flags & CLONE_THREAD) in copy_signal()
1974 if ((clone_flags & (CLONE_VM | CLONE_THREAD | CLONE_VFORK)) != CLONE_VM) in copy_oom_score_adj()
2039 if ((clone_flags & CLONE_THREAD) && !(clone_flags & CLONE_SIGHAND)) in copy_process()
2064 if (clone_flags & CLONE_THREAD) { in copy_process()
2080 if (clone_flags & CLONE_THREAD) in copy_process()
2092 if (clone_flags & CLONE_THREAD) in copy_process()
2101 if (clone_flags & CLONE_THREAD) in copy_process()
2124 if (!(clone_flags & CLONE_THREAD)) in copy_process()
2339 if (clone_flags & CLONE_THREAD) in copy_process()
2383 if (clone_flags & CLONE_THREAD) { in copy_process()
[all …]
/linux/tools/testing/selftests/proc/
H A Dthread-self.c59 pid = clone(f, stack + PAGE_SIZE, CLONE_THREAD|CLONE_SIGHAND|CLONE_VM, (void *)1); in main()
/linux/tools/include/uapi/linux/
H A Dsched.h
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dsched.h19 #define CLONE_THREAD 0x00010000 /* Same thread group? */ macro
/linux/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c16 #define CLONE_THREAD 0x10000 macro
346 if (!(clone_flags & CLONE_THREAD)) in on_newtask()
/linux/tools/testing/selftests/mm/
H A Dpkey_sighandler_tests.c331 CLONE_SIGHAND | CLONE_THREAD | CLONE_SYSVSEM | in test_sigsegv_handler_with_different_pkey_for_stack()
511 CLONE_SIGHAND | CLONE_THREAD | CLONE_SYSVSEM | in test_pkru_sigreturn()
/linux/Documentation/userspace-api/
H A Dunshare.rst263 Force implied flags. If CLONE_THREAD is set force CLONE_VM.
265 set and signals are also being shared, force CLONE_THREAD. If
284 and CLONE_THREAD, return -EINVAL since they are not implemented yet.
/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/kernel/cgroup/
H A Dcgroup.c6930 !(kargs->flags & CLONE_THREAD), in cgroup_css_set_fork()
/linux/Documentation/security/keys/
H A Dcore.rst148 clone, fork, vfork unless CLONE_THREAD is supplied, in which case it is
/linux/kernel/events/
H A Dcore.c15014 (event->attr.inherit_thread && !(clone_flags & CLONE_THREAD)) || in inherit_task_group()