summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2022-04-11 14:13:56 -0500
committerEric W. Biederman <ebiederm@xmission.com>2022-05-07 09:01:59 -0500
commit753550eb0ce1fea4b5cbd989f2e06ef80b2feb28 (patch)
tree57908b5c1c0a3f4979d06e683b362ccb1907f582 /arch/x86
parent68d85f0a33b0cbfe4921485160ff75ea7a081215 (diff)
downloadlinux-753550eb0ce1fea4b5cbd989f2e06ef80b2feb28.tar.bz2
fork: Explicitly set PF_KTHREAD
Instead of implicitly inheriting PF_KTHREAD from the parent process examine arguments in kernel_clone_args to see if PF_KTHREAD should be set. This makes knowledge of which new threads are kernel threads explicit. This also makes it so that init and the user mode helper processes no longer have PF_KTHREAD set. Link: https://lkml.kernel.org/r/20220506141512.516114-6-ebiederm@xmission.com Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions