xref: /aosp_15_r20/bionic/libc/kernel/uapi/asm-arm/asm/signal.h (revision 8d67ca893c1523eb926b9080dbe4e2ffd2a27ba1)
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 _UAPI_ASMARM_SIGNAL_H
8 #define _UAPI_ASMARM_SIGNAL_H
9 #include <linux/types.h>
10 struct siginfo;
11 #define _KERNEL_NSIG 32
12 typedef unsigned long sigset_t;
13 #define SIGHUP 1
14 #define SIGINT 2
15 #define SIGQUIT 3
16 #define SIGILL 4
17 #define SIGTRAP 5
18 #define SIGABRT 6
19 #define SIGIOT 6
20 #define SIGBUS 7
21 #define SIGFPE 8
22 #define SIGKILL 9
23 #define SIGUSR1 10
24 #define SIGSEGV 11
25 #define SIGUSR2 12
26 #define SIGPIPE 13
27 #define SIGALRM 14
28 #define SIGTERM 15
29 #define SIGSTKFLT 16
30 #define SIGCHLD 17
31 #define SIGCONT 18
32 #define SIGSTOP 19
33 #define SIGTSTP 20
34 #define SIGTTIN 21
35 #define SIGTTOU 22
36 #define SIGURG 23
37 #define SIGXCPU 24
38 #define SIGXFSZ 25
39 #define SIGVTALRM 26
40 #define SIGPROF 27
41 #define SIGWINCH 28
42 #define SIGIO 29
43 #define SIGPOLL SIGIO
44 #define SIGPWR 30
45 #define SIGSYS 31
46 #define SIGUNUSED 31
47 #define __SIGRTMIN 32
48 #define __SIGRTMAX _KERNEL__NSIG
49 #define SIGSWI 32
50 #define SA_THIRTYTWO 0x02000000
51 #define SA_RESTORER 0x04000000
52 #define MINSIGSTKSZ 2048
53 #define SIGSTKSZ 8192
54 #include <asm-generic/signal-defs.h>
55 struct __kernel_sigaction {
56   union {
57     __sighandler_t _sa_handler;
58     void(* _sa_sigaction) (int, struct siginfo *, void *);
59   } _u;
60   sigset_t sa_mask;
61   unsigned long sa_flags;
62   void(* sa_restorer) (void);
63 };
64 #define sa_handler _u._sa_handler
65 #define sa_sigaction _u._sa_sigaction
66 typedef struct sigaltstack {
67   void  * ss_sp;
68   int ss_flags;
69   __kernel_size_t ss_size;
70 } stack_t;
71 #endif
72