Searched refs:CLONE_THREAD (Results 1 – 15 of 15) sorted by relevance
/linux/kernel/ |
H A D | fork.c | 1858 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 D | cred.c | 303 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 D | vhost_task.c | 124 CLONE_THREAD | CLONE_SIGHAND, in vhost_task_create()
|
/linux/tools/perf/util/bpf_skel/ |
H A D | off_cpu.bpf.c | 16 #define CLONE_THREAD 0x10000 macro 258 if (!(clone_flags & CLONE_THREAD)) in on_newtask()
|
/linux/tools/testing/selftests/proc/ |
H A D | thread-self.c | 59 pid = clone(f, stack + PAGE_SIZE, CLONE_THREAD|CLONE_SIGHAND|CLONE_VM, (void *)1); in main()
|
/linux/tools/include/uapi/linux/ |
H A D | sched.h |
|
/linux/include/uapi/linux/ |
H A D | sched.h | 19 #define CLONE_THREAD 0x00010000 /* Same thread group? */ macro
|
/linux/tools/perf/trace/beauty/include/uapi/linux/ |
H A D | sched.h | 19 #define CLONE_THREAD 0x00010000 /* Same thread group? */ macro
|
/linux/tools/testing/selftests/mm/ |
H A D | pkey_sighandler_tests.c | 330 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 D | unshare.rst | 263 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 D | cs_prctl_test.c | 64 const int THREAD_CLONE_FLAGS = CLONE_THREAD | CLONE_SIGHAND | CLONE_FS | CLONE_VM | CLONE_FILES;
|
/linux/arch/x86/kernel/fpu/ |
H A D | core.c | 635 if (!(clone_flags & CLONE_THREAD)) in fpu_clone()
|
/linux/kernel/cgroup/ |
H A D | cgroup.c | 6541 !(kargs->flags & CLONE_THREAD), in cgroup_css_set_fork()
|
/linux/Documentation/security/keys/ |
H A D | core.rst | 148 clone, fork, vfork unless CLONE_THREAD is supplied, in which case it is
|
/linux/kernel/events/ |
H A D | core.c | 13790 (event->attr.inherit_thread && !(clone_flags & CLONE_THREAD)) || in inherit_task_group()
|