diff options
Diffstat (limited to 'include/linux/sched/signal.h')
-rw-r--r-- | include/linux/sched/signal.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/linux/sched/signal.h b/include/linux/sched/signal.h index 9e07f3521549..13789d10a50e 100644 --- a/include/linux/sched/signal.h +++ b/include/linux/sched/signal.h | |||
@@ -270,12 +270,12 @@ static inline int signal_group_exit(const struct signal_struct *sig) | |||
270 | extern void flush_signals(struct task_struct *); | 270 | extern void flush_signals(struct task_struct *); |
271 | extern void ignore_signals(struct task_struct *); | 271 | extern void ignore_signals(struct task_struct *); |
272 | extern void flush_signal_handlers(struct task_struct *, int force_default); | 272 | extern void flush_signal_handlers(struct task_struct *, int force_default); |
273 | extern int dequeue_signal(struct task_struct *tsk, sigset_t *mask, siginfo_t *info); | 273 | extern int dequeue_signal(struct task_struct *tsk, sigset_t *mask, kernel_siginfo_t *info); |
274 | 274 | ||
275 | static inline int kernel_dequeue_signal(void) | 275 | static inline int kernel_dequeue_signal(void) |
276 | { | 276 | { |
277 | struct task_struct *tsk = current; | 277 | struct task_struct *tsk = current; |
278 | siginfo_t __info; | 278 | kernel_siginfo_t __info; |
279 | int ret; | 279 | int ret; |
280 | 280 | ||
281 | spin_lock_irq(&tsk->sighand->siglock); | 281 | spin_lock_irq(&tsk->sighand->siglock); |
@@ -322,12 +322,12 @@ int force_sig_pkuerr(void __user *addr, u32 pkey); | |||
322 | 322 | ||
323 | int force_sig_ptrace_errno_trap(int errno, void __user *addr); | 323 | int force_sig_ptrace_errno_trap(int errno, void __user *addr); |
324 | 324 | ||
325 | extern int send_sig_info(int, struct siginfo *, struct task_struct *); | 325 | extern int send_sig_info(int, struct kernel_siginfo *, struct task_struct *); |
326 | extern void force_sigsegv(int sig, struct task_struct *p); | 326 | extern void force_sigsegv(int sig, struct task_struct *p); |
327 | extern int force_sig_info(int, struct siginfo *, struct task_struct *); | 327 | extern int force_sig_info(int, struct kernel_siginfo *, struct task_struct *); |
328 | extern int __kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp); | 328 | extern int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp); |
329 | extern int kill_pid_info(int sig, struct siginfo *info, struct pid *pid); | 329 | extern int kill_pid_info(int sig, struct kernel_siginfo *info, struct pid *pid); |
330 | extern int kill_pid_info_as_cred(int, struct siginfo *, struct pid *, | 330 | extern int kill_pid_info_as_cred(int, struct kernel_siginfo *, struct pid *, |
331 | const struct cred *); | 331 | const struct cred *); |
332 | extern int kill_pgrp(struct pid *pid, int sig, int priv); | 332 | extern int kill_pgrp(struct pid *pid, int sig, int priv); |
333 | extern int kill_pid(struct pid *pid, int sig, int priv); | 333 | extern int kill_pid(struct pid *pid, int sig, int priv); |
@@ -475,8 +475,8 @@ static inline int kill_cad_pid(int sig, int priv) | |||
475 | } | 475 | } |
476 | 476 | ||
477 | /* These can be the second arg to send_sig_info/send_group_sig_info. */ | 477 | /* These can be the second arg to send_sig_info/send_group_sig_info. */ |
478 | #define SEND_SIG_NOINFO ((struct siginfo *) 0) | 478 | #define SEND_SIG_NOINFO ((struct kernel_siginfo *) 0) |
479 | #define SEND_SIG_PRIV ((struct siginfo *) 1) | 479 | #define SEND_SIG_PRIV ((struct kernel_siginfo *) 1) |
480 | 480 | ||
481 | /* | 481 | /* |
482 | * True if we are on the alternate signal stack. | 482 | * True if we are on the alternate signal stack. |