signal.h (de65d816aa44f9ddd79861ae21d75010cc1fd003) | signal.h (574c4866e33d648520a8bd5bf6f573ea6e554e88) |
---|---|
1#ifndef _UAPI__SPARC_SIGNAL_H 2#define _UAPI__SPARC_SIGNAL_H 3 4#include <asm/sigcontext.h> 5#include <linux/compiler.h> 6 7 8/* On the Sparc the signal handlers get passed a 'sub-signal' code --- 139 unchanged lines hidden (view full) --- 148#define SIG_SETMASK 0x04 /* for setting the signal mask */ 149 150#define MINSIGSTKSZ 4096 151#define SIGSTKSZ 16384 152 153 154#include <asm-generic/signal-defs.h> 155 | 1#ifndef _UAPI__SPARC_SIGNAL_H 2#define _UAPI__SPARC_SIGNAL_H 3 4#include <asm/sigcontext.h> 5#include <linux/compiler.h> 6 7 8/* On the Sparc the signal handlers get passed a 'sub-signal' code --- 139 unchanged lines hidden (view full) --- 148#define SIG_SETMASK 0x04 /* for setting the signal mask */ 149 150#define MINSIGSTKSZ 4096 151#define SIGSTKSZ 16384 152 153 154#include <asm-generic/signal-defs.h> 155 |
156#ifndef __KERNEL__ |
|
156struct __new_sigaction { 157 __sighandler_t sa_handler; 158 unsigned long sa_flags; 159 __sigrestore_t sa_restorer; /* not used by Linux/SPARC yet */ 160 __new_sigset_t sa_mask; 161}; | 157struct __new_sigaction { 158 __sighandler_t sa_handler; 159 unsigned long sa_flags; 160 __sigrestore_t sa_restorer; /* not used by Linux/SPARC yet */ 161 __new_sigset_t sa_mask; 162}; |
163#endif |
|
162 163struct __old_sigaction { 164 __sighandler_t sa_handler; 165 __old_sigset_t sa_mask; 166 unsigned long sa_flags; 167 void (*sa_restorer)(void); /* not used by Linux/SPARC yet */ 168}; 169 170typedef struct sigaltstack { 171 void __user *ss_sp; 172 int ss_flags; 173 size_t ss_size; 174} stack_t; 175 176 177#endif /* !(__ASSEMBLY__) */ 178 179#endif /* _UAPI__SPARC_SIGNAL_H */ | 164 165struct __old_sigaction { 166 __sighandler_t sa_handler; 167 __old_sigset_t sa_mask; 168 unsigned long sa_flags; 169 void (*sa_restorer)(void); /* not used by Linux/SPARC yet */ 170}; 171 172typedef struct sigaltstack { 173 void __user *ss_sp; 174 int ss_flags; 175 size_t ss_size; 176} stack_t; 177 178 179#endif /* !(__ASSEMBLY__) */ 180 181#endif /* _UAPI__SPARC_SIGNAL_H */ |