1/* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6#ifndef _ASMARM_SIGNAL_H 7#define _ASMARM_SIGNAL_H 8#include <linux/types.h> 9struct siginfo; 10#define _KERNEL_NSIG 32 11typedef unsigned long sigset_t; 12#define SIGHUP 1 13#define SIGINT 2 14#define SIGQUIT 3 15#define SIGILL 4 16#define SIGTRAP 5 17#define SIGABRT 6 18#define SIGIOT 6 19#define SIGBUS 7 20#define SIGFPE 8 21#define SIGKILL 9 22#define SIGUSR1 10 23#define SIGSEGV 11 24#define SIGUSR2 12 25#define SIGPIPE 13 26#define SIGALRM 14 27#define SIGTERM 15 28#define SIGSTKFLT 16 29#define SIGCHLD 17 30#define SIGCONT 18 31#define SIGSTOP 19 32#define SIGTSTP 20 33#define SIGTTIN 21 34#define SIGTTOU 22 35#define SIGURG 23 36#define SIGXCPU 24 37#define SIGXFSZ 25 38#define SIGVTALRM 26 39#define SIGPROF 27 40#define SIGWINCH 28 41#define SIGIO 29 42#define SIGPOLL SIGIO 43#define SIGPWR 30 44#define SIGSYS 31 45#define SIGUNUSED 31 46#define __SIGRTMIN 32 47#define __SIGRTMAX _KERNEL__NSIG 48#define SIGSWI 32 49#define SA_NOCLDSTOP 0x00000001 50#define SA_NOCLDWAIT 0x00000002 51#define SA_SIGINFO 0x00000004 52#define SA_THIRTYTWO 0x02000000 53#define SA_RESTORER 0x04000000 54#define SA_ONSTACK 0x08000000 55#define SA_RESTART 0x10000000 56#define SA_NODEFER 0x40000000 57#define SA_RESETHAND 0x80000000 58#define SA_NOMASK SA_NODEFER 59#define SA_ONESHOT SA_RESETHAND 60#define MINSIGSTKSZ 2048 61#define SIGSTKSZ 8192 62#include <asm-generic/signal-defs.h> 63struct sigaction { 64 union { 65 __sighandler_t _sa_handler; 66 void (*_sa_sigaction)(int, struct siginfo *, void *); 67 } _u; 68 sigset_t sa_mask; 69 unsigned long sa_flags; 70 void (*sa_restorer)(void); 71}; 72#define sa_handler _u._sa_handler 73#define sa_sigaction _u._sa_sigaction 74typedef struct sigaltstack { 75 void *ss_sp; 76 int ss_flags; 77 size_t ss_size; 78} stack_t; 79#endif 80