mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
72abe3bcf0
commit
cb44c9a0ab
12 changed files with 18 additions and 16 deletions
|
@ -325,7 +325,7 @@ int force_sig_pkuerr(void __user *addr, u32 pkey);
|
|||
int force_sig_ptrace_errno_trap(int errno, void __user *addr);
|
||||
|
||||
extern int send_sig_info(int, struct kernel_siginfo *, struct task_struct *);
|
||||
extern void force_sigsegv(int sig, struct task_struct *p);
|
||||
extern void force_sigsegv(int sig);
|
||||
extern int force_sig_info(int, struct kernel_siginfo *, struct task_struct *);
|
||||
extern int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp);
|
||||
extern int kill_pid_info(int sig, struct kernel_siginfo *info, struct pid *pid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue