Home
last modified time | relevance | path

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

/Linux-v4.19/tools/include/uapi/linux/
Dsched.h16 #define CLONE_THREAD 0x00010000 /* Same thread group? */ macro
/Linux-v4.19/include/uapi/linux/
Dsched.h16 #define CLONE_THREAD 0x00010000 /* Same thread group? */ macro
/Linux-v4.19/tools/testing/selftests/proc/
Dthread-self.c59 pid = clone(f, stack + PAGE_SIZE, CLONE_THREAD|CLONE_SIGHAND|CLONE_VM, (void *)1); in main()
/Linux-v4.19/kernel/
Dfork.c1474 if (clone_flags & CLONE_THREAD) in copy_signal()
1656 if ((clone_flags & CLONE_THREAD) && !(clone_flags & CLONE_SIGHAND)) in copy_process()
1681 if (clone_flags & CLONE_THREAD) { in copy_process()
1698 if (!(clone_flags & CLONE_THREAD)) in copy_process()
1920 if (clone_flags & CLONE_THREAD) { in copy_process()
1959 if (clone_flags & (CLONE_PARENT|CLONE_THREAD)) { in copy_process()
2069 if (!(clone_flags & CLONE_THREAD)) in copy_process()
2365 if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_NEWNS|CLONE_SIGHAND| in check_unshare_flags()
2376 if (unshare_flags & (CLONE_THREAD | CLONE_SIGHAND | CLONE_VM)) { in check_unshare_flags()
2453 unshare_flags |= CLONE_THREAD | CLONE_FS; in ksys_unshare()
[all …]
Dcred.c332 clone_flags & CLONE_THREAD in copy_creds()
360 if (clone_flags & CLONE_THREAD) in copy_creds()
367 if (!(clone_flags & CLONE_THREAD)) { in copy_creds()
/Linux-v4.19/Documentation/userspace-api/
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-v4.19/include/linux/
Dsched.h1832 if (clone_flags & CLONE_THREAD) { in rseq_fork()
/Linux-v4.19/Documentation/security/keys/
Dcore.rst148 clone, fork, vfork unless CLONE_THREAD is supplied, in which case it is