179d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/**************************************************************************** 279d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh **************************************************************************** 379d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** 479d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** This header was automatically generated from a Linux kernel header 579d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** of the same name, to make information necessary for userspace to 679d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** call into the kernel available to libc. It contains only constants, 779d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** structures, and macros generated from the original header, and thus, 879d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** contains no copyrightable information. 979d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** 1079d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** To edit the content of this header, modify the corresponding 1179d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** source file (e.g. under external/kernel-headers/original/) then 1279d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** run bionic/libc/kernel/tools/update_all.py 1379d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** 1479d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** Any manual change here will be lost the next time this script will 1579d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** be run. You've been warned! 1679d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh *** 1779d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh **************************************************************************** 1879d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh ****************************************************************************/ 1979d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#ifndef _UAPI_ASMARM_SIGNAL_H 2079d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define _UAPI_ASMARM_SIGNAL_H 2179d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#include <linux/types.h> 2279d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsiehstruct siginfo; 2379d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2479d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define _KERNEL_NSIG 32 2579d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsiehtypedef unsigned long sigset_t; 2679d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGHUP 1 2779d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGINT 2 2879d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2979d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGQUIT 3 3079d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGILL 4 3179d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGTRAP 5 3279d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGABRT 6 3379d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3479d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGIOT 6 3579d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGBUS 7 3679d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGFPE 8 3779d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGKILL 9 3879d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3979d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGUSR1 10 4079d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGSEGV 11 4179d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGUSR2 12 4279d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGPIPE 13 4379d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 4479d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGALRM 14 4579d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGTERM 15 4679d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGSTKFLT 16 4779d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGCHLD 17 4879d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 4979d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGCONT 18 5079d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGSTOP 19 5179d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGTSTP 20 5279d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGTTIN 21 5379d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 5479d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGTTOU 22 5579d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGURG 23 5679d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGXCPU 24 5779d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGXFSZ 25 5879d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 5979d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGVTALRM 26 6079d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGPROF 27 6179d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGWINCH 28 6279d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGIO 29 6379d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 6479d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGPOLL SIGIO 6579d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGPWR 30 6679d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGSYS 31 6779d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGUNUSED 31 6879d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 694120ceca07ae8e4e4060e244aee2500b4b69a79aPavel Chupin#define __SIGRTMIN 32 704120ceca07ae8e4e4060e244aee2500b4b69a79aPavel Chupin#define __SIGRTMAX _KERNEL__NSIG 7179d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGSWI 32 7279d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SA_NOCLDSTOP 0x00000001 7379d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 7479d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SA_NOCLDWAIT 0x00000002 7579d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SA_SIGINFO 0x00000004 7679d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SA_THIRTYTWO 0x02000000 7779d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SA_RESTORER 0x04000000 7879d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 7979d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SA_ONSTACK 0x08000000 8079d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SA_RESTART 0x10000000 8179d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SA_NODEFER 0x40000000 8279d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SA_RESETHAND 0x80000000 8379d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 8479d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SA_NOMASK SA_NODEFER 8579d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SA_ONESHOT SA_RESETHAND 8679d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define MINSIGSTKSZ 2048 8779d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define SIGSTKSZ 8192 8879d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 8979d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#include <asm-generic/signal-defs.h> 9079d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsiehstruct sigaction { 9179d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh union { 9279d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh __sighandler_t _sa_handler; 9379d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 9479d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh void (*_sa_sigaction)(int, struct siginfo *, void *); 9579d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh } _u; 9679d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh sigset_t sa_mask; 9779d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh unsigned long sa_flags; 9879d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 9979d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh void (*sa_restorer)(void); 10079d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh}; 10179d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define sa_handler _u._sa_handler 10279d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#define sa_sigaction _u._sa_sigaction 10379d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 10479d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsiehtypedef struct sigaltstack { 10579d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh void __user *ss_sp; 10679d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh int ss_flags; 10779d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh size_t ss_size; 10879d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 10979d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh} stack_t; 11079d3fcb11ea752a2e49630c98c5759d2885cdd04Andrew Hsieh#endif 111