• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This file is auto-generated. Modifications will be lost.
3  *
4  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5  * for more information.
6  */
7 #ifndef __ASM_GENERIC_SIGNAL_DEFS_H
8 #define __ASM_GENERIC_SIGNAL_DEFS_H
9 #include <linux/compiler.h>
10 #ifndef SA_NOCLDSTOP
11 #define SA_NOCLDSTOP 0x00000001
12 #endif
13 #ifndef SA_NOCLDWAIT
14 #define SA_NOCLDWAIT 0x00000002
15 #endif
16 #ifndef SA_SIGINFO
17 #define SA_SIGINFO 0x00000004
18 #endif
19 #define SA_UNSUPPORTED 0x00000400
20 #define SA_EXPOSE_TAGBITS 0x00000800
21 #ifndef SA_ONSTACK
22 #define SA_ONSTACK 0x08000000
23 #endif
24 #ifndef SA_RESTART
25 #define SA_RESTART 0x10000000
26 #endif
27 #ifndef SA_NODEFER
28 #define SA_NODEFER 0x40000000
29 #endif
30 #ifndef SA_RESETHAND
31 #define SA_RESETHAND 0x80000000
32 #endif
33 #define SA_NOMASK SA_NODEFER
34 #define SA_ONESHOT SA_RESETHAND
35 #ifndef SIG_BLOCK
36 #define SIG_BLOCK 0
37 #endif
38 #ifndef SIG_UNBLOCK
39 #define SIG_UNBLOCK 1
40 #endif
41 #ifndef SIG_SETMASK
42 #define SIG_SETMASK 2
43 #endif
44 #ifndef __ASSEMBLY__
45 typedef void __signalfn_t(int);
46 typedef __signalfn_t  * __sighandler_t;
47 typedef void __restorefn_t(void);
48 typedef __restorefn_t  * __sigrestore_t;
49 #define SIG_DFL (( __sighandler_t) 0)
50 #define SIG_IGN (( __sighandler_t) 1)
51 #define SIG_ERR (( __sighandler_t) - 1)
52 #endif
53 #endif
54