signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV)
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 25 Oct 2021 15:50:57 +0000 (10:50 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Nov 2021 08:49:06 +0000 (09:49 +0100)
commit02d28b5fdb414ebb885e76aa01f6489a2a3d5843
tree13b415d930ec149dd8531793e314f6c2de519b61
parent3e61002d05976c312b2fdee741131ecb12263cf4
signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV)

commit e21294a7aaae32c5d7154b187113a04db5852e37 upstream.

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>
Cc: Thomas Backlund <tmb@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arc/kernel/process.c
arch/m68k/kernel/traps.c
arch/powerpc/kernel/signal_32.c
arch/powerpc/kernel/signal_64.c
arch/s390/kernel/traps.c
arch/um/kernel/trap.c
arch/x86/kernel/vm86_32.c
fs/exec.c