aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-26 00:26:10 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-26 13:33:54 -0400
commita2ab38c9b8a8b99f998bb9b9743b3f5c9a4493b5 (patch)
tree64334802bd47001bf93aecdcbcc820e62a57cfc7 /sysdeps
parentf6b71eada3cfbaa13dd4019978e9bd29055bad9f (diff)
downloadglibc-a2ab38c9b8a8b99f998bb9b9743b3f5c9a4493b5.zip
glibc-a2ab38c9b8a8b99f998bb9b9743b3f5c9a4493b5.tar.gz
glibc-a2ab38c9b8a8b99f998bb9b9743b3f5c9a4493b5.tar.bz2
mips: siginfo.h: add SIGSYS details [BZ #18863]
Linux 3.13 added SIGSYS details to siginfo_t; update glibc's copy to keep in sync with it.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/siginfo.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/bits/siginfo.h b/sysdeps/unix/sysv/linux/mips/bits/siginfo.h
index 3391319..96d406e 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/siginfo.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/siginfo.h
@@ -107,6 +107,14 @@ typedef struct
long int si_band; /* Band event for SIGPOLL. */
int si_fd;
} _sigpoll;
+
+ /* SIGSYS. */
+ struct
+ {
+ void *_call_addr; /* Calling user insn. */
+ int _syscall; /* Triggering system call number. */
+ unsigned int _arch; /* AUDIT_ARCH_* of syscall. */
+ } _sigsys;
} _sifields;
} siginfo_t;
@@ -126,6 +134,9 @@ typedef struct
# define si_addr_lsb _sifields._sigfault.si_addr_lsb
# define si_band _sifields._sigpoll.si_band
# define si_fd _sifields._sigpoll.si_fd
+# define si_call_addr _sifields._sigsys._call_addr
+# define si_syscall _sifields._sigsys._syscall
+# define si_arch _sifields._sigsys._arch
/* Values for `si_code'. Positive values are reserved for kernel-generated