Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ia64: Sync struct siginfo with general version

New fields about bound violation are added into general struct
siginfo. This will impact MIPS and IA64, which extend general
struct siginfo. This patch syncs this struct for IA64 with
general version.

Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: linux-mm@kvack.org
Cc: linux-mips@linux-mips.org
Cc: Dave Hansen <dave@sr71.net>
Link: http://lkml.kernel.org/r/20141114151822.82B3B486@viggo.jf.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Qiaowei Ren and committed by
Thomas Gleixner
53f037b0 232b5fff

+6 -2
+6 -2
arch/ia64/include/uapi/asm/siginfo.h
··· 63 63 unsigned int _flags; /* see below */ 64 64 unsigned long _isr; /* isr */ 65 65 short _addr_lsb; /* lsb of faulting address */ 66 + struct { 67 + void __user *_lower; 68 + void __user *_upper; 69 + } _addr_bnd; 66 70 } _sigfault; 67 71 68 72 /* SIGPOLL */ ··· 114 110 /* 115 111 * SIGSEGV si_codes 116 112 */ 117 - #define __SEGV_PSTKOVF (__SI_FAULT|3) /* paragraph stack overflow */ 113 + #define __SEGV_PSTKOVF (__SI_FAULT|4) /* paragraph stack overflow */ 118 114 #undef NSIGSEGV 119 - #define NSIGSEGV 3 115 + #define NSIGSEGV 4 120 116 121 117 #undef NSIGTRAP 122 118 #define NSIGTRAP 4