1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_ASM_X86_SIGNAL_H
3 #define _UAPI_ASM_X86_SIGNAL_H
6 #include <linux/types.h>
7 #include <linux/time.h>
8 #include <linux/compiler.h>
10 /* Avoid too many header ordering problems. */
14 /* Here we must cater to libcs that poke about in kernel headers. */
17 typedef unsigned long sigset_t
;
19 #endif /* __KERNEL__ */
20 #endif /* __ASSEMBLY__ */
61 /* These should not be considered constants from userland. */
63 #define SIGRTMAX _NSIG
65 #define SA_RESTORER 0x04000000
67 #define MINSIGSTKSZ 2048
70 #include <asm-generic/signal-defs.h>
76 /* Here we must cater to libcs that poke about in kernel headers. */
81 __sighandler_t _sa_handler
;
82 void (*_sa_sigaction
)(int, struct siginfo
*, void *);
85 unsigned long sa_flags
;
86 void (*sa_restorer
)(void);
89 #define sa_handler _u._sa_handler
90 #define sa_sigaction _u._sa_sigaction
95 __sighandler_t sa_handler
;
96 unsigned long sa_flags
;
97 __sigrestore_t sa_restorer
;
98 sigset_t sa_mask
; /* mask last for extensibility */
101 #endif /* !__i386__ */
102 # endif /* ! __KERNEL__ */
104 typedef struct sigaltstack
{
110 #endif /* __ASSEMBLY__ */
112 #endif /* _UAPI_ASM_X86_SIGNAL_H */