summaryrefslogtreecommitdiff
path: root/kernel/entry/syscall_user_dispatch.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-29 08:03:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-29 08:03:05 +0100
commit24cd719712aeb5b5e4562f37ef5f7ba33040b59f (patch)
tree689077bc9bf2e9f8b7df1c6a37dcefe8045912d7 /kernel/entry/syscall_user_dispatch.c
parent84c365f8ff8fc93a34d6cabe780d0b0f49c177e2 (diff)
parentd58071a8a76d779eedab38033ae4c821c30295a5 (diff)
downloadlwn-24cd719712aeb5b5e4562f37ef5f7ba33040b59f.tar.gz
lwn-24cd719712aeb5b5e4562f37ef5f7ba33040b59f.zip
Merge 5.16-rc3 into staging-next
We need the staging driver fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/entry/syscall_user_dispatch.c')
-rw-r--r--kernel/entry/syscall_user_dispatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/entry/syscall_user_dispatch.c b/kernel/entry/syscall_user_dispatch.c
index 4508201847d2..0b6379adff6b 100644
--- a/kernel/entry/syscall_user_dispatch.c
+++ b/kernel/entry/syscall_user_dispatch.c
@@ -48,7 +48,7 @@ bool syscall_user_dispatch(struct pt_regs *regs)
* the selector is loaded by userspace.
*/
if (unlikely(__get_user(state, sd->selector))) {
- force_fatal_sig(SIGSEGV);
+ force_exit_sig(SIGSEGV);
return true;
}
@@ -56,7 +56,7 @@ bool syscall_user_dispatch(struct pt_regs *regs)
return false;
if (state != SYSCALL_DISPATCH_FILTER_BLOCK) {
- force_fatal_sig(SIGSYS);
+ force_exit_sig(SIGSYS);
return true;
}
}