signal: Remove task parameter from force_sig
All of the remaining callers pass current into force_sig so remove the task parameter to make this obvious and to make misuse more difficult in the future. This also makes it clear force_sig passes current into force_sig_info. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
This commit is contained in:
@@ -288,7 +288,7 @@ void unhandled_interruption(struct pt_regs *regs)
|
||||
show_regs(regs);
|
||||
if (!user_mode(regs))
|
||||
do_exit(SIGKILL);
|
||||
force_sig(SIGKILL, current);
|
||||
force_sig(SIGKILL);
|
||||
}
|
||||
|
||||
void unhandled_exceptions(unsigned long entry, unsigned long addr,
|
||||
@@ -299,7 +299,7 @@ void unhandled_exceptions(unsigned long entry, unsigned long addr,
|
||||
show_regs(regs);
|
||||
if (!user_mode(regs))
|
||||
do_exit(SIGKILL);
|
||||
force_sig(SIGKILL, current);
|
||||
force_sig(SIGKILL);
|
||||
}
|
||||
|
||||
extern int do_page_fault(unsigned long entry, unsigned long addr,
|
||||
@@ -326,7 +326,7 @@ void do_revinsn(struct pt_regs *regs)
|
||||
show_regs(regs);
|
||||
if (!user_mode(regs))
|
||||
do_exit(SIGILL);
|
||||
force_sig(SIGILL, current);
|
||||
force_sig(SIGILL);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ALIGNMENT_TRAP
|
||||
|
Reference in New Issue
Block a user