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

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

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/arm64/include/uapi/asm/signal.h (Architecture i386) and /arch/alpha/include/uapi/asm/signal.h (Architecture alpha)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux      1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
                                                   >>   2 #ifndef _UAPI_ASMAXP_SIGNAL_H
                                                   >>   3 #define _UAPI_ASMAXP_SIGNAL_H
                                                   >>   4 
                                                   >>   5 #include <linux/types.h>
                                                   >>   6 
                                                   >>   7 /* Avoid too many header ordering problems.  */
                                                   >>   8 struct siginfo;
                                                   >>   9 
                                                   >>  10 #ifndef __KERNEL__
                                                   >>  11 /* Here we must cater to libcs that poke about in kernel headers.  */
                                                   >>  12 
                                                   >>  13 #define NSIG            32
                                                   >>  14 typedef unsigned long sigset_t;
                                                   >>  15 
                                                   >>  16 #endif /* __KERNEL__ */
                                                   >>  17 
                                                   >>  18 
  2 /*                                                 19 /*
  3  * Copyright (C) 2012 ARM Ltd.                 !!  20  * Linux/AXP has different signal numbers that Linux/i386: I'm trying
  4  *                                             !!  21  * to make it OSF/1 binary compatible, at least for normal binaries.
  5  * This program is free software; you can redi << 
  6  * it under the terms of the GNU General Publi << 
  7  * published by the Free Software Foundation.  << 
  8  *                                             << 
  9  * This program is distributed in the hope tha << 
 10  * but WITHOUT ANY WARRANTY; without even the  << 
 11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR << 
 12  * GNU General Public License for more details << 
 13  *                                             << 
 14  * You should have received a copy of the GNU  << 
 15  * along with this program.  If not, see <http << 
 16  */                                                22  */
 17 #ifndef __ASM_SIGNAL_H                         !!  23 #define SIGHUP           1
 18 #define __ASM_SIGNAL_H                         !!  24 #define SIGINT           2
                                                   >>  25 #define SIGQUIT          3
                                                   >>  26 #define SIGILL           4
                                                   >>  27 #define SIGTRAP          5
                                                   >>  28 #define SIGABRT          6
                                                   >>  29 #define SIGEMT           7
                                                   >>  30 #define SIGFPE           8
                                                   >>  31 #define SIGKILL          9
                                                   >>  32 #define SIGBUS          10
                                                   >>  33 #define SIGSEGV         11
                                                   >>  34 #define SIGSYS          12
                                                   >>  35 #define SIGPIPE         13
                                                   >>  36 #define SIGALRM         14
                                                   >>  37 #define SIGTERM         15
                                                   >>  38 #define SIGURG          16
                                                   >>  39 #define SIGSTOP         17
                                                   >>  40 #define SIGTSTP         18
                                                   >>  41 #define SIGCONT         19
                                                   >>  42 #define SIGCHLD         20
                                                   >>  43 #define SIGTTIN         21
                                                   >>  44 #define SIGTTOU         22
                                                   >>  45 #define SIGIO           23
                                                   >>  46 #define SIGXCPU         24
                                                   >>  47 #define SIGXFSZ         25
                                                   >>  48 #define SIGVTALRM       26
                                                   >>  49 #define SIGPROF         27
                                                   >>  50 #define SIGWINCH        28
                                                   >>  51 #define SIGINFO         29
                                                   >>  52 #define SIGUSR1         30
                                                   >>  53 #define SIGUSR2         31
                                                   >>  54 
                                                   >>  55 #define SIGPOLL SIGIO
                                                   >>  56 #define SIGPWR  SIGINFO
                                                   >>  57 #define SIGIOT  SIGABRT
                                                   >>  58 
                                                   >>  59 /* These should not be considered constants from userland.  */
                                                   >>  60 #define SIGRTMIN        32
                                                   >>  61 #define SIGRTMAX        _NSIG
                                                   >>  62 
                                                   >>  63 #define SA_ONSTACK      0x00000001
                                                   >>  64 #define SA_RESTART      0x00000002
                                                   >>  65 #define SA_NOCLDSTOP    0x00000004
                                                   >>  66 #define SA_NODEFER      0x00000008
                                                   >>  67 #define SA_RESETHAND    0x00000010
                                                   >>  68 #define SA_NOCLDWAIT    0x00000020
                                                   >>  69 #define SA_SIGINFO      0x00000040
                                                   >>  70 
                                                   >>  71 #define SA_ONESHOT      SA_RESETHAND
                                                   >>  72 #define SA_NOMASK       SA_NODEFER
                                                   >>  73 
                                                   >>  74 #define MINSIGSTKSZ     4096
                                                   >>  75 #define SIGSTKSZ        16384
                                                   >>  76 
                                                   >>  77 #define SIG_BLOCK          1    /* for blocking signals */
                                                   >>  78 #define SIG_UNBLOCK        2    /* for unblocking signals */
                                                   >>  79 #define SIG_SETMASK        3    /* for setting the signal mask */
                                                   >>  80 
                                                   >>  81 #include <asm-generic/signal-defs.h>
                                                   >>  82 
                                                   >>  83 #ifndef __KERNEL__
                                                   >>  84 /* Here we must cater to libcs that poke about in kernel headers.  */
                                                   >>  85 
                                                   >>  86 struct sigaction {
                                                   >>  87         union {
                                                   >>  88           __sighandler_t        _sa_handler;
                                                   >>  89           void (*_sa_sigaction)(int, struct siginfo *, void *);
                                                   >>  90         } _u;
                                                   >>  91         sigset_t        sa_mask;
                                                   >>  92         int             sa_flags;
                                                   >>  93 };
                                                   >>  94 
                                                   >>  95 #define sa_handler      _u._sa_handler
                                                   >>  96 #define sa_sigaction    _u._sa_sigaction
                                                   >>  97 
                                                   >>  98 #endif /* __KERNEL__ */
                                                   >>  99 
                                                   >> 100 typedef struct sigaltstack {
                                                   >> 101         void __user *ss_sp;
                                                   >> 102         int ss_flags;
                                                   >> 103         __kernel_size_t ss_size;
                                                   >> 104 } stack_t;
 19                                                   105 
 20 /* Required for AArch32 compatibility. */      !! 106 /* sigstack(2) is deprecated, and will be withdrawn in a future version
 21 #define SA_RESTORER     0x04000000             !! 107    of the X/Open CAE Specification.  Use sigaltstack instead.  It is only
                                                   >> 108    implemented here for OSF/1 compatibility.  */
 22                                                   109 
 23 #define MINSIGSTKSZ 5120                       !! 110 struct sigstack {
 24 #define SIGSTKSZ    16384                      !! 111         void __user *ss_sp;
                                                   >> 112         int ss_onstack;
                                                   >> 113 };
 25                                                   114 
 26 #include <asm-generic/signal.h>                << 
 27                                                   115 
 28 #endif                                         !! 116 #endif /* _UAPI_ASMAXP_SIGNAL_H */
 29                                                   117 

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

kernel.org | git.kernel.org | LWN.net | Project Home | 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.

sflogo.php