aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched/signal.h')
-rw-r--r--include/linux/sched/signal.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/linux/sched/signal.h b/include/linux/sched/signal.h
index 0aa4548fb492..23b4f9cb82db 100644
--- a/include/linux/sched/signal.h
+++ b/include/linux/sched/signal.h
@@ -285,6 +285,34 @@ static inline void kernel_signal_stop(void)
285 285
286 schedule(); 286 schedule();
287} 287}
288#ifdef __ARCH_SI_TRAPNO
289# define ___ARCH_SI_TRAPNO(_a1) , _a1
290#else
291# define ___ARCH_SI_TRAPNO(_a1)
292#endif
293#ifdef __ia64__
294# define ___ARCH_SI_IA64(_a1, _a2, _a3) , _a1, _a2, _a3
295#else
296# define ___ARCH_SI_IA64(_a1, _a2, _a3)
297#endif
298
299int force_sig_fault(int sig, int code, void __user *addr
300 ___ARCH_SI_TRAPNO(int trapno)
301 ___ARCH_SI_IA64(int imm, unsigned int flags, unsigned long isr)
302 , struct task_struct *t);
303int send_sig_fault(int sig, int code, void __user *addr
304 ___ARCH_SI_TRAPNO(int trapno)
305 ___ARCH_SI_IA64(int imm, unsigned int flags, unsigned long isr)
306 , struct task_struct *t);
307
308int force_sig_mceerr(int code, void __user *, short, struct task_struct *);
309int send_sig_mceerr(int code, void __user *, short, struct task_struct *);
310
311int force_sig_bnderr(void __user *addr, void __user *lower, void __user *upper);
312int force_sig_pkuerr(void __user *addr, u32 pkey);
313
314int force_sig_ptrace_errno_trap(int errno, void __user *addr);
315
288extern int send_sig_info(int, struct siginfo *, struct task_struct *); 316extern int send_sig_info(int, struct siginfo *, struct task_struct *);
289extern int force_sigsegv(int, struct task_struct *); 317extern int force_sigsegv(int, struct task_struct *);
290extern int force_sig_info(int, struct siginfo *, struct task_struct *); 318extern int force_sig_info(int, struct siginfo *, struct task_struct *);