summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2022-04-22 09:48:54 -0500
committerEric W. Biederman <ebiederm@xmission.com>2022-05-11 14:32:57 -0500
commit157cc18122b4a1456d19048e151a164216c4a704 (patch)
tree8e3e95fbc81a5e07999e237551994fb7270489b1 /include
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlinux-stable-157cc18122b4a1456d19048e151a164216c4a704.tar.gz
linux-stable-157cc18122b4a1456d19048e151a164216c4a704.tar.bz2
linux-stable-157cc18122b4a1456d19048e151a164216c4a704.zip
signal: Rename send_signal send_signal_locked
Rename send_signal and __send_signal to send_signal_locked and __send_signal_locked to make send_signal usable outside of signal.c. Tested-by: Kees Cook <keescook@chromium.org> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Link: https://lkml.kernel.org/r/20220505182645.497868-1-ebiederm@xmission.com Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h
index a6db6f2ae113..55605bdf5ce9 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -283,6 +283,8 @@ extern int do_send_sig_info(int sig, struct kernel_siginfo *info,
extern int group_send_sig_info(int sig, struct kernel_siginfo *info,
struct task_struct *p, enum pid_type type);
extern int __group_send_sig_info(int, struct kernel_siginfo *, struct task_struct *);
+extern int send_signal_locked(int sig, struct kernel_siginfo *info,
+ struct task_struct *p, enum pid_type type);
extern int sigprocmask(int, sigset_t *, sigset_t *);
extern void set_current_blocked(sigset_t *);
extern void __set_current_blocked(const sigset_t *);