Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
signal.h
Go to the documentation of this file.
1 #ifndef _ASMARM_SIGNAL_H
2 #define _ASMARM_SIGNAL_H
3 
4 #include <uapi/asm/signal.h>
5 
6 /* Most things should be clean enough to redefine this at will, if care
7  is taken to make libc match. */
8 
9 #define _NSIG 64
10 #define _NSIG_BPW 32
11 #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
12 
13 typedef unsigned long old_sigset_t; /* at least 32 bits */
14 
15 typedef struct {
16  unsigned long sig[_NSIG_WORDS];
17 } sigset_t;
18 
19 struct old_sigaction {
22  unsigned long sa_flags;
24 };
25 
26 struct sigaction {
28  unsigned long sa_flags;
30  sigset_t sa_mask; /* mask last for extensibility */
31 };
32 
33 struct k_sigaction {
34  struct sigaction sa;
35 };
36 
37 #include <asm/sigcontext.h>
38 #define ptrace_signal_deliver(regs, cookie) do { } while (0)
39 #endif