1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_ASMARM_SIGNAL_H
3 #define _UAPI_ASMARM_SIGNAL_H
5 #include <linux/types.h>
7 /* Avoid too many header ordering problems. */
11 /* Here we must cater to libcs that poke about in kernel headers. */
14 typedef unsigned long sigset_t
;
16 #endif /* __KERNEL__ */
56 /* These should not be considered constants from userland. */
58 #define SIGRTMAX _NSIG
63 * SA_THIRTYTWO historically meant deliver the signal in 32-bit mode, even if
64 * the task is running in 26-bit. But since the kernel no longer supports
65 * 26-bit mode, the flag has no effect.
67 #define SA_THIRTYTWO 0x02000000
68 #define SA_RESTORER 0x04000000
70 #define MINSIGSTKSZ 2048
73 #include <asm-generic/signal-defs.h>
76 /* Here we must cater to libcs that poke about in kernel headers. */
80 __sighandler_t _sa_handler
;
81 void (*_sa_sigaction
)(int, struct siginfo
*, void *);
84 unsigned long sa_flags
;
85 void (*sa_restorer
)(void);
88 #define sa_handler _u._sa_handler
89 #define sa_sigaction _u._sa_sigaction
91 #endif /* __KERNEL__ */
93 typedef struct sigaltstack
{
100 #endif /* _UAPI_ASMARM_SIGNAL_H */