diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 12:34:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 12:34:43 -0500 |
commit | 3eb5b893ebec7325ac9e6b8e4864af89a9ca1ed1 (patch) | |
tree | c1ced8c2c3eb68f14001fcca35d5b0eed8277a52 /arch/ia64 | |
parent | 9e66645d72d3c395da92b0f8855c787f4b5f0e89 (diff) | |
parent | 9f7789f845cc100dd0d94fa1aa083e3373dc03db (diff) |
Merge branch 'x86-mpx-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 MPX support from Thomas Gleixner:
"This enables support for x86 MPX.
MPX is a new debug feature for bound checking in user space. It
requires kernel support to handle the bound tables and decode the
bound violating instruction in the trap handler"
* 'x86-mpx-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
asm-generic: Remove asm-generic arch_bprm_mm_init()
mm: Make arch_unmap()/bprm_mm_init() available to all architectures
x86: Cleanly separate use of asm-generic/mm_hooks.h
x86 mpx: Change return type of get_reg_offset()
fs: Do not include mpx.h in exec.c
x86, mpx: Add documentation on Intel MPX
x86, mpx: Cleanup unused bound tables
x86, mpx: On-demand kernel allocation of bounds tables
x86, mpx: Decode MPX instruction to get bound violation information
x86, mpx: Add MPX-specific mmap interface
x86, mpx: Introduce VM_MPX to indicate that a VMA is MPX specific
x86, mpx: Add MPX to disabled features
ia64: Sync struct siginfo with general version
mips: Sync struct siginfo with general version
mpx: Extend siginfo structure to include bound violation information
x86, mpx: Rename cfg_reg_u and status_reg
x86: mpx: Give bndX registers actual names
x86: Remove arbitrary instruction size limit in instruction decoder
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/uapi/asm/siginfo.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/ia64/include/uapi/asm/siginfo.h b/arch/ia64/include/uapi/asm/siginfo.h index 4ea6225196bb..bce9bc1a66c4 100644 --- a/arch/ia64/include/uapi/asm/siginfo.h +++ b/arch/ia64/include/uapi/asm/siginfo.h | |||
@@ -63,6 +63,10 @@ typedef struct siginfo { | |||
63 | unsigned int _flags; /* see below */ | 63 | unsigned int _flags; /* see below */ |
64 | unsigned long _isr; /* isr */ | 64 | unsigned long _isr; /* isr */ |
65 | short _addr_lsb; /* lsb of faulting address */ | 65 | short _addr_lsb; /* lsb of faulting address */ |
66 | struct { | ||
67 | void __user *_lower; | ||
68 | void __user *_upper; | ||
69 | } _addr_bnd; | ||
66 | } _sigfault; | 70 | } _sigfault; |
67 | 71 | ||
68 | /* SIGPOLL */ | 72 | /* SIGPOLL */ |
@@ -110,9 +114,9 @@ typedef struct siginfo { | |||
110 | /* | 114 | /* |
111 | * SIGSEGV si_codes | 115 | * SIGSEGV si_codes |
112 | */ | 116 | */ |
113 | #define __SEGV_PSTKOVF (__SI_FAULT|3) /* paragraph stack overflow */ | 117 | #define __SEGV_PSTKOVF (__SI_FAULT|4) /* paragraph stack overflow */ |
114 | #undef NSIGSEGV | 118 | #undef NSIGSEGV |
115 | #define NSIGSEGV 3 | 119 | #define NSIGSEGV 4 |
116 | 120 | ||
117 | #undef NSIGTRAP | 121 | #undef NSIGTRAP |
118 | #define NSIGTRAP 4 | 122 | #define NSIGTRAP 4 |