Home
last modified time | relevance | path

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

/linux/kernel/
H A Dfork.c1858 if (clone_flags & CLONE_THREAD) in copy_signal()
2106 if ((clone_flags & (CLONE_VM | CLONE_THREAD | CLONE_VFORK)) != CLONE_VM) in copy_oom_score_adj()
2165 if ((clone_flags & CLONE_THREAD) && !(clone_flags & CLONE_SIGHAND)) in copy_process()
2190 if (clone_flags & CLONE_THREAD) { in copy_process()
2215 if (!(clone_flags & CLONE_THREAD)) in copy_process()
2424 int flags = (clone_flags & CLONE_THREAD) ? PIDFD_THREAD : 0; in copy_process()
2461 if (clone_flags & CLONE_THREAD) { in copy_process()
2525 if (clone_flags & (CLONE_PARENT|CLONE_THREAD)) { in copy_process()
2528 if (clone_flags & CLONE_THREAD) in copy_process()
2658 if (!(clone_flags & CLONE_THREAD)) in copy_process()
[all …]
H A Dcred.c303 clone_flags & CLONE_THREAD in copy_creds()
331 if (clone_flags & CLONE_THREAD) in copy_creds()
338 if (!(clone_flags & CLONE_THREAD)) { in copy_creds()
H A Dvhost_task.c124 CLONE_THREAD | CLONE_SIGHAND, in vhost_task_create()
/linux/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c16 #define CLONE_THREAD 0x10000 macro
258 if (!(clone_flags & CLONE_THREAD)) in on_newtask()
/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/include/uapi/linux/
H A Dsched.h19 #define CLONE_THREAD 0x00010000 /* Same thread group? */ macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dsched.h19 #define CLONE_THREAD 0x00010000 /* Same thread group? */ macro
/linux/tools/testing/selftests/mm/
H A Dpkey_sighandler_tests.c330 CLONE_SIGHAND | CLONE_THREAD | CLONE_SYSVSEM | in test_sigsegv_handler_with_different_pkey_for_stack()
501 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/arch/x86/kernel/fpu/
H A Dcore.c635 if (!(clone_flags & CLONE_THREAD)) in fpu_clone()
/linux/kernel/cgroup/
H A Dcgroup.c6541 !(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.c13790 (event->attr.inherit_thread && !(clone_flags & CLONE_THREAD)) || in inherit_task_group()