signal/x86: Remove task parameter from send_sigtrap
The send_sigtrap function is always called with task == current. Make that explicit by removing the task parameter. This also makes it clear that the x86 send_sigtrap passes current into force_sig_fault. Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
This commit is contained in:
@@ -102,8 +102,7 @@ extern unsigned long profile_pc(struct pt_regs *regs);
|
||||
|
||||
extern unsigned long
|
||||
convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs);
|
||||
extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs,
|
||||
int error_code, int si_code);
|
||||
extern void send_sigtrap(struct pt_regs *regs, int error_code, int si_code);
|
||||
|
||||
|
||||
static inline unsigned long regs_return_value(struct pt_regs *regs)
|
||||
|
Reference in New Issue
Block a user