diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2022-04-11 22:15:54 +0300 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2022-05-07 17:01:59 +0300 |
commit | 1b2552cbdbe099b51aaffa486c042b0a7bf0a808 (patch) | |
tree | 784d1ad6a4c959de0fe07753745568a42eb19ab7 /arch/riscv/kvm/tlb.S | |
parent | 753550eb0ce1fea4b5cbd989f2e06ef80b2feb28 (diff) | |
download | linux-1b2552cbdbe099b51aaffa486c042b0a7bf0a808.tar.xz |
fork: Stop allowing kthreads to call execve
Now that kernel_execve is no longer called from kernel threads stop
supporting kernel threads calling kernel_execve.
Remove the code for converting a kthread to a normal thread in execve.
Document the restriction that kthreads may not call kernel_execve by
having kernel_execve fail if called by a kthread.
Link: https://lkml.kernel.org/r/20220506141512.516114-7-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/riscv/kvm/tlb.S')
0 files changed, 0 insertions, 0 deletions