Searched refs:CLONE_THREAD (Results 1 – 8 of 8) sorted by relevance
16 #define CLONE_THREAD 0x00010000 /* Same thread group? */ macro
59 pid = clone(f, stack + PAGE_SIZE, CLONE_THREAD|CLONE_SIGHAND|CLONE_VM, (void *)1); in main()
1474 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 …]
332 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()
263 Force implied flags. If CLONE_THREAD is set force CLONE_VM.265 set and signals are also being shared, force CLONE_THREAD. If284 and CLONE_THREAD, return -EINVAL since they are not implemented yet.
1832 if (clone_flags & CLONE_THREAD) { in rseq_fork()
148 clone, fork, vfork unless CLONE_THREAD is supplied, in which case it is