signal: Remove task parameter from force_sigsegv
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 21 May 2019 15:03:48 +0000 (10:03 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 27 May 2019 14:36:28 +0000 (09:36 -0500)
commitcb44c9a0ab21a9ae4dfcabac1ed8e38aa872d1af
treee09131e28e3f55143862fc2377c30049a6a4b0bc
parent72abe3bcf0911d69b46c1e8bdb5612675e0ac42c
signal: Remove task parameter from force_sigsegv

The function force_sigsegv is always called on the current task
so passing in current is redundant and not passing in current
makes this fact obvious.

This also makes it clear force_sigsegv always calls force_sig
on the current task.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
12 files changed:
arch/arc/kernel/process.c
arch/ia64/kernel/signal.c
arch/nios2/kernel/signal.c
arch/sparc/kernel/signal32.c
arch/sparc/kernel/signal_64.c
arch/um/kernel/skas/mmu.c
arch/um/kernel/trap.c
arch/unicore32/kernel/signal.c
fs/exec.c
include/linux/sched/signal.h
kernel/rseq.c
kernel/signal.c