1/**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 **************************************************************************** 11 ****************************************************************************/ 12#ifndef _ASMARM_SIGNAL_H 13#define _ASMARM_SIGNAL_H 14 15#include <linux/types.h> 16 17struct siginfo; 18 19#define NSIG 32 20typedef unsigned long sigset_t; 21 22#define SIGHUP 1 23#define SIGINT 2 24#define SIGQUIT 3 25#define SIGILL 4 26#define SIGTRAP 5 27#define SIGABRT 6 28#define SIGIOT 6 29#define SIGBUS 7 30#define SIGFPE 8 31#define SIGKILL 9 32#define SIGUSR1 10 33#define SIGSEGV 11 34#define SIGUSR2 12 35#define SIGPIPE 13 36#define SIGALRM 14 37#define SIGTERM 15 38#define SIGSTKFLT 16 39#define SIGCHLD 17 40#define SIGCONT 18 41#define SIGSTOP 19 42#define SIGTSTP 20 43#define SIGTTIN 21 44#define SIGTTOU 22 45#define SIGURG 23 46#define SIGXCPU 24 47#define SIGXFSZ 25 48#define SIGVTALRM 26 49#define SIGPROF 27 50#define SIGWINCH 28 51#define SIGIO 29 52#define SIGPOLL SIGIO 53 54#define SIGPWR 30 55#define SIGSYS 31 56#define SIGUNUSED 31 57 58#define SIGRTMIN 32 59#define SIGRTMAX _NSIG 60 61#define SIGSWI 32 62 63#define SA_NOCLDSTOP 0x00000001 64#define SA_NOCLDWAIT 0x00000002 65#define SA_SIGINFO 0x00000004 66#define SA_THIRTYTWO 0x02000000 67#define SA_RESTORER 0x04000000 68#define SA_ONSTACK 0x08000000 69#define SA_RESTART 0x10000000 70#define SA_NODEFER 0x40000000 71#define SA_RESETHAND 0x80000000 72 73#define SA_NOMASK SA_NODEFER 74#define SA_ONESHOT SA_RESETHAND 75 76#define SS_ONSTACK 1 77#define SS_DISABLE 2 78 79#define MINSIGSTKSZ 2048 80#define SIGSTKSZ 8192 81 82#include <asm-generic/signal.h> 83 84struct sigaction { 85 union { 86 __sighandler_t _sa_handler; 87 void (*_sa_sigaction)(int, struct siginfo *, void *); 88 } _u; 89 sigset_t sa_mask; 90 unsigned long sa_flags; 91 void (*sa_restorer)(void); 92}; 93 94#define sa_handler _u._sa_handler 95#define sa_sigaction _u._sa_sigaction 96 97typedef struct sigaltstack { 98 void __user *ss_sp; 99 int ss_flags; 100 size_t ss_size; 101} stack_t; 102 103#endif 104