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>
This commit is contained in:
Eric W. Biederman 2019-05-21 10:03:48 -05:00
parent 72abe3bcf0
commit cb44c9a0ab
12 changed files with 18 additions and 16 deletions

View file

@ -277,7 +277,7 @@ void __rseq_handle_notify_resume(struct ksignal *ksig, struct pt_regs *regs)
error:
sig = ksig ? ksig->sig : 0;
force_sigsegv(sig, t);
force_sigsegv(sig);
}
#ifdef CONFIG_DEBUG_RSEQ