aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/signal.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-07-13 18:40:57 -0500
committerEric W. Biederman <ebiederm@xmission.com>2018-07-21 12:57:35 -0500
commit0102498083d58d8b17759642c602b525215e1a54 (patch)
treec415fcfa60f8bad834f2649bdf0fbeff155f868d /include/linux/signal.h
parentsignal: Pass pid and pid type into send_sigqueue (diff)
downloadwireguard-linux-0102498083d58d8b17759642c602b525215e1a54.tar.xz
wireguard-linux-0102498083d58d8b17759642c602b525215e1a54.zip
signal: Pass pid type into group_send_sig_info
This passes the information we already have at the call sight into group_send_sig_info. Ultimatelly allowing for to better handle signals sent to a group of processes. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/signal.h')
-rw-r--r--include/linux/signal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h
index 3c5200137b24..d8f2bf3d41e6 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -254,11 +254,13 @@ static inline int valid_signal(unsigned long sig)
struct timespec;
struct pt_regs;
+enum pid_type;
extern int next_signal(struct sigpending *pending, sigset_t *mask);
extern int do_send_sig_info(int sig, struct siginfo *info,
struct task_struct *p, bool group);
-extern int group_send_sig_info(int sig, struct siginfo *info, struct task_struct *p);
+extern int group_send_sig_info(int sig, struct siginfo *info,
+ struct task_struct *p, enum pid_type type);
extern int __group_send_sig_info(int, struct siginfo *, struct task_struct *);
extern int sigprocmask(int, sigset_t *, sigset_t *);
extern void set_current_blocked(sigset_t *);