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:
@@ -386,7 +386,7 @@ static void do_signal(struct pt_regs *regs, int syscall)
|
||||
regs->UCreg_pc = KERN_RESTART_CODE;
|
||||
} else {
|
||||
regs->UCreg_sp += 4;
|
||||
force_sigsegv(0, current);
|
||||
force_sigsegv(0);
|
||||
}
|
||||
}
|
||||
if (regs->UCreg_00 == -ERESTARTNOHAND ||
|
||||
|
Reference in New Issue
Block a user