diff options
Diffstat (limited to 'include/linux/sched/signal.h')
-rw-r--r-- | include/linux/sched/signal.h | 28 |
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 | |||
299 | int 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); | ||
303 | int 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 | |||
308 | int force_sig_mceerr(int code, void __user *, short, struct task_struct *); | ||
309 | int send_sig_mceerr(int code, void __user *, short, struct task_struct *); | ||
310 | |||
311 | int force_sig_bnderr(void __user *addr, void __user *lower, void __user *upper); | ||
312 | int force_sig_pkuerr(void __user *addr, u32 pkey); | ||
313 | |||
314 | int force_sig_ptrace_errno_trap(int errno, void __user *addr); | ||
315 | |||
288 | extern int send_sig_info(int, struct siginfo *, struct task_struct *); | 316 | extern int send_sig_info(int, struct siginfo *, struct task_struct *); |
289 | extern int force_sigsegv(int, struct task_struct *); | 317 | extern int force_sigsegv(int, struct task_struct *); |
290 | extern int force_sig_info(int, struct siginfo *, struct task_struct *); | 318 | extern int force_sig_info(int, struct siginfo *, struct task_struct *); |