diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-03-04 20:37:33 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-03-04 14:50:52 -0500 |
commit | ad85fcb568c7374901f0122ad695b37a9167c55e (patch) | |
tree | ce77cbb1f68cfa9fc13b564f6beab8cca3bf4433 | |
parent | 9c3da8968d5c811452c575b3918fceaf561e5089 (diff) | |
download | musl-ad85fcb568c7374901f0122ad695b37a9167c55e.tar.gz musl-ad85fcb568c7374901f0122ad695b37a9167c55e.tar.bz2 musl-ad85fcb568c7374901f0122ad695b37a9167c55e.tar.xz musl-ad85fcb568c7374901f0122ad695b37a9167c55e.zip |
add new si_lower and si_upper siginfo_t members
new in linux v3.19 commit ee1b58d36aa1b5a79eaba11f5c3633c88231da83
used to report intel mpx bound violation information.
-rw-r--r-- | include/signal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/signal.h b/include/signal.h index 87301ba3..b38241a3 100644 --- a/include/signal.h +++ b/include/signal.h @@ -63,6 +63,7 @@ extern "C" { #define SEGV_MAPERR 1 #define SEGV_ACCERR 2 +#define SEGV_BNDERR 3 #define BUS_ADRALN 1 #define BUS_ADRERR 2 @@ -110,6 +111,10 @@ typedef struct { struct { void *si_addr; short si_addr_lsb; + struct { + void *si_lower; + void *si_upper; + } __addr_bnd; } __sigfault; struct { long si_band; @@ -130,6 +135,8 @@ typedef struct { #define si_value __si_fields.__si_common.__second.si_value #define si_addr __si_fields.__sigfault.si_addr #define si_addr_lsb __si_fields.__sigfault.si_addr_lsb +#define si_lower __si_fields.__sigfault.__addr_bnd.si_lower +#define si_upper __si_fields.__sigfault.__addr_bnd.si_upper #define si_band __si_fields.__sigpoll.si_band #define si_fd __si_fields.__sigpoll.si_fd #define si_timerid __si_fields.__si_common.__first.__timer.si_timerid |