1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_SIGNAL_TYPES_H
3 #define _LINUX_SIGNAL_TYPES_H
6 * Basic signal handling related data type definitions:
9 #include <linux/list.h>
10 #include <uapi/linux/signal.h>
13 * Real Time signals may be queued.
17 struct list_head list
;
20 struct user_struct
*user
;
24 #define SIGQUEUE_PREALLOC 1
27 struct list_head list
;
32 #ifndef __ARCH_HAS_IRIX_SIGACTION
33 __sighandler_t sa_handler
;
34 unsigned long sa_flags
;
36 unsigned int sa_flags
;
37 __sighandler_t sa_handler
;
39 #ifdef __ARCH_HAS_SA_RESTORER
40 __sigrestore_t sa_restorer
;
42 sigset_t sa_mask
; /* mask last for extensibility */
47 #ifdef __ARCH_HAS_KA_RESTORER
48 __sigrestore_t ka_restorer
;
52 #ifdef CONFIG_OLD_SIGACTION
53 struct old_sigaction
{
54 __sighandler_t sa_handler
;
56 unsigned long sa_flags
;
57 __sigrestore_t sa_restorer
;
62 struct k_sigaction ka
;
67 #endif /* _LINUX_SIGNAL_TYPES_H */