signal.h (92a3ce4a1e0047215aa0a0b30cc333bd32b866a8) signal.h (574c4866e33d648520a8bd5bf6f573ea6e554e88)
1#ifndef _UAPI__ASM_GENERIC_SIGNAL_H
2#define _UAPI__ASM_GENERIC_SIGNAL_H
3
4#include <linux/types.h>
5
6#define _NSIG 64
7#define _NSIG_BPW __BITS_PER_LONG
8#define _NSIG_WORDS (_NSIG / _NSIG_BPW)

--- 79 unchanged lines hidden (view full) ---

88 unsigned long sig[_NSIG_WORDS];
89} sigset_t;
90
91/* not actually used, but required for linux/syscalls.h */
92typedef unsigned long old_sigset_t;
93
94#include <asm-generic/signal-defs.h>
95
1#ifndef _UAPI__ASM_GENERIC_SIGNAL_H
2#define _UAPI__ASM_GENERIC_SIGNAL_H
3
4#include <linux/types.h>
5
6#define _NSIG 64
7#define _NSIG_BPW __BITS_PER_LONG
8#define _NSIG_WORDS (_NSIG / _NSIG_BPW)

--- 79 unchanged lines hidden (view full) ---

88 unsigned long sig[_NSIG_WORDS];
89} sigset_t;
90
91/* not actually used, but required for linux/syscalls.h */
92typedef unsigned long old_sigset_t;
93
94#include <asm-generic/signal-defs.h>
95
96#ifdef SA_RESTORER
97#define __ARCH_HAS_SA_RESTORER
98#endif
99
100#ifndef __KERNEL__
96struct sigaction {
97 __sighandler_t sa_handler;
98 unsigned long sa_flags;
99#ifdef SA_RESTORER
100 __sigrestore_t sa_restorer;
101#endif
102 sigset_t sa_mask; /* mask last for extensibility */
103};
101struct sigaction {
102 __sighandler_t sa_handler;
103 unsigned long sa_flags;
104#ifdef SA_RESTORER
105 __sigrestore_t sa_restorer;
106#endif
107 sigset_t sa_mask; /* mask last for extensibility */
108};
109#endif
104
105typedef struct sigaltstack {
106 void __user *ss_sp;
107 int ss_flags;
108 size_t ss_size;
109} stack_t;
110
111#endif /* __ASSEMBLY__ */
112
113#endif /* _UAPI__ASM_GENERIC_SIGNAL_H */
110
111typedef struct sigaltstack {
112 void __user *ss_sp;
113 int ss_flags;
114 size_t ss_size;
115} stack_t;
116
117#endif /* __ASSEMBLY__ */
118
119#endif /* _UAPI__ASM_GENERIC_SIGNAL_H */