/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Based on <asm-i386/siginfo.h>. * * Modified 1998-2002 * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co */ #ifndef _UAPI_ASM_IA64_SIGINFO_H #define _UAPI_ASM_IA64_SIGINFO_H #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) #define HAVE_ARCH_SIGINFO_T #define HAVE_ARCH_COPY_SIGINFO_TO_USER #include <asm-generic/siginfo.h> typedef struct siginfo { int si_signo; int si_errno; int si_code; int __pad0; union { int _pad[SI_PAD_SIZE]; /* kill() */ struct { pid_t _pid; /* sender's pid */ uid_t _uid; /* sender's uid */ } _kill; /* POSIX.1b timers */ struct { timer_t _tid; /* timer id */ int _overrun; /* overrun count */ char _pad[sizeof(__ARCH_SI_UID_T) - sizeof(int)]; sigval_t _sigval; /* must overlay ._rt._sigval! */ int _sys_private; /* not to be passed to user */ } _timer; /* POSIX.1b signals */ struct { pid_t _pid; /* sender's pid */ uid_t _uid; /* sender's uid */ sigval_t _sigval; } _rt; /* SIGCHLD */ struct { pid_t _pid; /* which child */ uid_t _uid; /* sender's uid */ int _status; /* exit code */ clock_t _utime; clock_t _stime; } _sigchld; /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ struct { void __user *_addr; /* faulting insn/memory ref. */ int _imm; /* immediate value for "break" */ unsigned int _flags; /* see below */ unsigned long _isr; /* isr */ short _addr_lsb; /* lsb of faulting address */ union { /* used when si_code=SEGV_BNDERR */ struct { void __user *_lower; void __user *_upper; } _addr_bnd; /* used when si_code=SEGV_PKUERR */ __u32 _pkey; }; } _sigfault; /* SIGPOLL */ struct { long _band; /* POLL_IN, POLL_OUT, POLL_MSG (XPG requires a "long") */ int _fd; } _sigpoll; } _sifields; } siginfo_t; #define si_imm _sifields._sigfault._imm /* as per UNIX SysV ABI spec */ #define si_flags _sifields._sigfault._flags /* * si_isr is valid for SIGILL, SIGFPE, SIGSEGV, SIGBUS, and SIGTRAP provided that * si_code is non-zero and __ISR_VALID is set in si_flags. */ #define si_isr _sifields._sigfault._isr /* * Flag values for si_flags: */ #define __ISR_VALID_BIT 0 #define __ISR_VALID (1 << __ISR_VALID_BIT) /* * SIGILL si_codes */ #define ILL_BADIADDR 9 /* unimplemented instruction address */ #define __ILL_BREAK 10 /* illegal break */ #define __ILL_BNDMOD 11 /* bundle-update (modification) in progress */ #undef NSIGILL #define NSIGILL 11 /* * SIGFPE si_codes */ #ifdef __KERNEL__ #define FPE_FIXME 0 /* Broken dup of SI_USER */ #endif /* __KERNEL__ */ #define __FPE_DECOVF 9 /* decimal overflow */ #define __FPE_DECDIV 10 /* decimal division by zero */ #define __FPE_DECERR 11 /* packed decimal error */ #define __FPE_INVASC 12 /* invalid ASCII digit */ #define __FPE_INVDEC 13 /* invalid decimal digit */ #undef NSIGFPE #define NSIGFPE 13 /* * SIGSEGV si_codes */ #define __SEGV_PSTKOVF 4 /* paragraph stack overflow */ #undef NSIGSEGV #define NSIGSEGV 4 #undef NSIGTRAP #define NSIGTRAP 4 #endif /* _UAPI_ASM_IA64_SIGINFO_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Kbuild | File | 125 B | 0644 |
|
auxvec.h | File | 407 B | 0644 |
|
bitsperlong.h | File | 234 B | 0644 |
|
break.h | File | 538 B | 0644 |
|
byteorder.h | File | 203 B | 0644 |
|
cmpxchg.h | File | 4.11 KB | 0644 |
|
errno.h | File | 94 B | 0644 |
|
fcntl.h | File | 388 B | 0644 |
|
fpu.h | File | 2.22 KB | 0644 |
|
gcc_intrin.h | File | 18.07 KB | 0644 |
|
ia64regs.h | File | 2.81 KB | 0644 |
|
intel_intrin.h | File | 4.88 KB | 0644 |
|
intrinsics.h | File | 4.06 KB | 0644 |
|
ioctl.h | File | 94 B | 0644 |
|
ioctls.h | File | 183 B | 0644 |
|
ipcbuf.h | File | 95 B | 0644 |
|
mman.h | File | 388 B | 0644 |
|
msgbuf.h | File | 930 B | 0644 |
|
param.h | File | 670 B | 0644 |
|
perfmon.h | File | 6.2 KB | 0644 |
|
perfmon_default_smpl.h | File | 3.47 KB | 0644 |
|
poll.h | File | 93 B | 0644 |
|
posix_types.h | File | 268 B | 0644 |
|
ptrace.h | File | 8.1 KB | 0644 |
|
ptrace_offsets.h | File | 6.38 KB | 0644 |
|
resource.h | File | 215 B | 0644 |
|
rse.h | File | 1.71 KB | 0644 |
|
sembuf.h | File | 678 B | 0644 |
|
setup.h | File | 924 B | 0644 |
|
shmbuf.h | File | 1.09 KB | 0644 |
|
sigcontext.h | File | 3.07 KB | 0644 |
|
siginfo.h | File | 3.06 KB | 0644 |
|
signal.h | File | 3.32 KB | 0644 |
|
socket.h | File | 2.33 KB | 0644 |
|
sockios.h | File | 559 B | 0644 |
|
stat.h | File | 1.1 KB | 0644 |
|
statfs.h | File | 555 B | 0644 |
|
swab.h | File | 781 B | 0644 |
|
termbits.h | File | 4.75 KB | 0644 |
|
termios.h | File | 1.21 KB | 0644 |
|
types.h | File | 866 B | 0644 |
|
ucontext.h | File | 360 B | 0644 |
|
unistd.h | File | 9.85 KB | 0644 |
|
ustack.h | File | 296 B | 0644 |
|