|
@@ -40,6 +40,7 @@ typedef s32 compat_long_t;
|
|
typedef s64 __attribute__((aligned(4))) compat_s64;
|
|
typedef s64 __attribute__((aligned(4))) compat_s64;
|
|
typedef u32 compat_uint_t;
|
|
typedef u32 compat_uint_t;
|
|
typedef u32 compat_ulong_t;
|
|
typedef u32 compat_ulong_t;
|
|
|
|
+typedef u32 compat_u32;
|
|
typedef u64 __attribute__((aligned(4))) compat_u64;
|
|
typedef u64 __attribute__((aligned(4))) compat_u64;
|
|
typedef u32 compat_uptr_t;
|
|
typedef u32 compat_uptr_t;
|
|
|
|
|
|
@@ -181,6 +182,16 @@ typedef struct compat_siginfo {
|
|
/* SIGILL, SIGFPE, SIGSEGV, SIGBUS */
|
|
/* SIGILL, SIGFPE, SIGSEGV, SIGBUS */
|
|
struct {
|
|
struct {
|
|
unsigned int _addr; /* faulting insn/memory ref. */
|
|
unsigned int _addr; /* faulting insn/memory ref. */
|
|
|
|
+ short int _addr_lsb; /* Valid LSB of the reported address. */
|
|
|
|
+ union {
|
|
|
|
+ /* used when si_code=SEGV_BNDERR */
|
|
|
|
+ struct {
|
|
|
|
+ compat_uptr_t _lower;
|
|
|
|
+ compat_uptr_t _upper;
|
|
|
|
+ } _addr_bnd;
|
|
|
|
+ /* used when si_code=SEGV_PKUERR */
|
|
|
|
+ compat_u32 _pkey;
|
|
|
|
+ };
|
|
} _sigfault;
|
|
} _sigfault;
|
|
|
|
|
|
/* SIGPOLL */
|
|
/* SIGPOLL */
|