~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/ia64/include/uapi/asm/signal.h

Version: ~ [ linux-5.19-rc3 ] ~ [ linux-5.18.5 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.48 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.123 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.199 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.248 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.284 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.319 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.302 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Modified 1998-2001, 2003
  3  *      David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
  4  *
  5  * Unfortunately, this file is being included by bits/signal.h in
  6  * glibc-2.x.  Hence the #ifdef __KERNEL__ ugliness.
  7  */
  8 #ifndef _UAPI_ASM_IA64_SIGNAL_H
  9 #define _UAPI_ASM_IA64_SIGNAL_H
 10 
 11 
 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 /*
 44 #define SIGLOST         29
 45 */
 46 #define SIGPWR          30
 47 #define SIGSYS          31
 48 /* signal 31 is no longer "unused", but the SIGUNUSED macro remains for backwards compatibility */
 49 #define SIGUNUSED       31
 50 
 51 /* These should not be considered constants from userland.  */
 52 #define SIGRTMIN        32
 53 #define SIGRTMAX        _NSIG
 54 
 55 /*
 56  * SA_FLAGS values:
 57  *
 58  * SA_ONSTACK indicates that a registered stack_t will be used.
 59  * SA_RESTART flag to get restarting signals (which were the default long ago)
 60  * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop.
 61  * SA_RESETHAND clears the handler when the signal is delivered.
 62  * SA_NOCLDWAIT flag on SIGCHLD to inhibit zombies.
 63  * SA_NODEFER prevents the current signal from being masked in the handler.
 64  *
 65  * SA_ONESHOT and SA_NOMASK are the historical Linux names for the Single
 66  * Unix names RESETHAND and NODEFER respectively.
 67  */
 68 #define SA_NOCLDSTOP    0x00000001
 69 #define SA_NOCLDWAIT    0x00000002
 70 #define SA_SIGINFO      0x00000004
 71 #define SA_ONSTACK      0x08000000
 72 #define SA_RESTART      0x10000000
 73 #define SA_NODEFER      0x40000000
 74 #define SA_RESETHAND    0x80000000
 75 
 76 #define SA_NOMASK       SA_NODEFER
 77 #define SA_ONESHOT      SA_RESETHAND
 78 
 79 #define SA_RESTORER     0x04000000
 80 
 81 /*
 82  * The minimum stack size needs to be fairly large because we want to
 83  * be sure that an app compiled for today's CPUs will continue to run
 84  * on all future CPU models.  The CPU model matters because the signal
 85  * frame needs to have space for the complete machine state, including
 86  * all physical stacked registers.  The number of physical stacked
 87  * registers is CPU model dependent, but given that the width of
 88  * ar.rsc.loadrs is 14 bits, we can assume that they'll never take up
 89  * more than 16KB of space.
 90  */
 91 #if 1
 92   /*
 93    * This is a stupid typo: the value was _meant_ to be 131072 (0x20000), but I typed it
 94    * in wrong. ;-(  To preserve backwards compatibility, we leave the kernel at the
 95    * incorrect value and fix libc only.
 96    */
 97 # define MINSIGSTKSZ    131027  /* min. stack size for sigaltstack() */
 98 #else
 99 # define MINSIGSTKSZ    131072  /* min. stack size for sigaltstack() */
100 #endif
101 #define SIGSTKSZ        262144  /* default stack size for sigaltstack() */
102 
103 
104 #include <asm-generic/signal-defs.h>
105 
106 # ifndef __ASSEMBLY__
107 
108 #  include <linux/types.h>
109 
110 /* Avoid too many header ordering problems.  */
111 struct siginfo;
112 
113 typedef struct sigaltstack {
114         void __user *ss_sp;
115         int ss_flags;
116         size_t ss_size;
117 } stack_t;
118 
119 
120 # endif /* !__ASSEMBLY__ */
121 #endif /* _UAPI_ASM_IA64_SIGNAL_H */
122 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp