1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_ASM_SIGNAL_H
3 #define _UAPI_ASM_SIGNAL_H
5 #include <linux/types.h>
8 /* Here we must cater to libcs that poke about in kernel headers. */
11 typedef unsigned long sigset_t
;
13 #endif /* !__KERNEL__ */
15 #define SA_RESTORER 0x04000000 /* to get struct sigaction correct */
17 #include <asm-generic/signal.h>
20 /* Here we must cater to libcs that poke about in kernel headers. */
24 __sighandler_t _sa_handler
;
25 void (*_sa_sigaction
)(int, struct siginfo
*, void *);
28 unsigned long sa_flags
;
29 void (*sa_restorer
)(void);
32 #define sa_handler _u._sa_handler
33 #define sa_sigaction _u._sa_sigaction
35 #endif /* __KERNEL__ */
37 #endif /* _UAPI_ASM_SIGNAL_H */