• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _UAPI_ASMARM_SIGNAL_H
20 #define _UAPI_ASMARM_SIGNAL_H
21 #include <linux/types.h>
22 struct siginfo;
23 #define _KERNEL_NSIG 32
24 typedef unsigned long sigset_t;
25 #define SIGHUP 1
26 #define SIGINT 2
27 #define SIGQUIT 3
28 #define SIGILL 4
29 #define SIGTRAP 5
30 #define SIGABRT 6
31 #define SIGIOT 6
32 #define SIGBUS 7
33 #define SIGFPE 8
34 #define SIGKILL 9
35 #define SIGUSR1 10
36 #define SIGSEGV 11
37 #define SIGUSR2 12
38 #define SIGPIPE 13
39 #define SIGALRM 14
40 #define SIGTERM 15
41 #define SIGSTKFLT 16
42 #define SIGCHLD 17
43 #define SIGCONT 18
44 #define SIGSTOP 19
45 #define SIGTSTP 20
46 #define SIGTTIN 21
47 #define SIGTTOU 22
48 #define SIGURG 23
49 #define SIGXCPU 24
50 #define SIGXFSZ 25
51 #define SIGVTALRM 26
52 #define SIGPROF 27
53 #define SIGWINCH 28
54 #define SIGIO 29
55 #define SIGPOLL SIGIO
56 #define SIGPWR 30
57 #define SIGSYS 31
58 #define SIGUNUSED 31
59 #define __SIGRTMIN 32
60 #define __SIGRTMAX _KERNEL__NSIG
61 #define SIGSWI 32
62 #define SA_NOCLDSTOP 0x00000001
63 #define SA_NOCLDWAIT 0x00000002
64 #define SA_SIGINFO 0x00000004
65 #define SA_THIRTYTWO 0x02000000
66 #define SA_RESTORER 0x04000000
67 #define SA_ONSTACK 0x08000000
68 #define SA_RESTART 0x10000000
69 #define SA_NODEFER 0x40000000
70 #define SA_RESETHAND 0x80000000
71 #define SA_NOMASK SA_NODEFER
72 #define SA_ONESHOT SA_RESETHAND
73 #define MINSIGSTKSZ 2048
74 #define SIGSTKSZ 8192
75 #include <asm-generic/signal-defs.h>
76 struct sigaction {
77   union {
78     __sighandler_t _sa_handler;
79     void(* _sa_sigaction) (int, struct siginfo *, void *);
80   } _u;
81   sigset_t sa_mask;
82   unsigned long sa_flags;
83   void(* sa_restorer) (void);
84 };
85 #define sa_handler _u._sa_handler
86 #define sa_sigaction _u._sa_sigaction
87 typedef struct sigaltstack {
88   void __user * ss_sp;
89   int ss_flags;
90   size_t ss_size;
91 } stack_t;
92 #endif
93