1 /****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef __ASM_GENERIC_SIGNAL_H
13 #define __ASM_GENERIC_SIGNAL_H
15 #include <linux/compiler.h>
17 #ifndef SIG_BLOCK
18 #define SIG_BLOCK 0
19 #endif
20 #ifndef SIG_UNBLOCK
21 #define SIG_UNBLOCK 1
22 #endif
23 #ifndef SIG_SETMASK
24 #define SIG_SETMASK 2
25 #endif
27 #ifndef __ASSEMBLY__
28 typedef void __signalfn_t(int);
29 typedef __signalfn_t __user *__sighandler_t;
31 typedef void __restorefn_t(void);
32 typedef __restorefn_t __user *__sigrestore_t;
34 #define SIG_DFL ((__force __sighandler_t)0)
35 #define SIG_IGN ((__force __sighandler_t)1)
36 #define SIG_ERR ((__force __sighandler_t)-1)
37 #endif
39 #endif