diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2021-10-25 17:50:57 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2021-10-29 21:31:34 +0200 |
commit | e21294a7aaae32c5d7154b187113a04db5852e37 (patch) | |
tree | fe8235daea64e169bfbd20d2f9bd395ea012b8b1 /arch/x86 | |
parent | exit/r8188eu: Replace the macro thread_exit with a simple return 0 (diff) | |
download | linux-e21294a7aaae32c5d7154b187113a04db5852e37.tar.xz linux-e21294a7aaae32c5d7154b187113a04db5852e37.zip |
signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV)
Now that force_fatal_sig exists it is unnecessary and a bit confusing
to use force_sigsegv in cases where the simpler force_fatal_sig is
wanted. So change every instance we can to make the code clearer.
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Link: https://lkml.kernel.org/r/877de7jrev.fsf@disp2133
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/vm86_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/vm86_32.c b/arch/x86/kernel/vm86_32.c index 933cafab7832..f14f69d7aa3c 100644 --- a/arch/x86/kernel/vm86_32.c +++ b/arch/x86/kernel/vm86_32.c @@ -160,7 +160,7 @@ Efault_end: user_access_end(); Efault: pr_alert("could not access userspace vm86 info\n"); - force_sigsegv(SIGSEGV); + force_fatal_sig(SIGSEGV); goto exit_vm86; } |