diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2019-05-21 17:03:48 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2019-05-27 16:36:28 +0200 |
commit | cb44c9a0ab21a9ae4dfcabac1ed8e38aa872d1af (patch) | |
tree | e09131e28e3f55143862fc2377c30049a6a4b0bc /kernel/rseq.c | |
parent | signal/cifs: Fix cifs_put_tcp_session to call send_sig instead of force_sig (diff) | |
download | linux-cb44c9a0ab21a9ae4dfcabac1ed8e38aa872d1af.tar.xz linux-cb44c9a0ab21a9ae4dfcabac1ed8e38aa872d1af.zip |
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>
Diffstat (limited to 'kernel/rseq.c')
-rw-r--r-- | kernel/rseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rseq.c b/kernel/rseq.c index 9424ee90589e..e1aa3ebee291 100644 --- a/kernel/rseq.c +++ b/kernel/rseq.c @@ -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 |