Browse Source

mips: 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 MIPS 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/20141114151820.F7EDC3CC@viggo.jf.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Qiaowei Ren 10 years ago
parent
commit
232b5fff5b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      arch/mips/include/uapi/asm/siginfo.h

+ 4 - 0
arch/mips/include/uapi/asm/siginfo.h

@@ -92,6 +92,10 @@ typedef struct siginfo {
 			int _trapno;	/* TRAP # which caused the signal */
 			int _trapno;	/* TRAP # which caused the signal */
 #endif
 #endif
 			short _addr_lsb;
 			short _addr_lsb;
+			struct {
+				void __user *_lower;
+				void __user *_upper;
+			} _addr_bnd;
 		} _sigfault;
 		} _sigfault;
 
 
 		/* SIGPOLL, SIGXFSZ (To do ...)	 */
 		/* SIGPOLL, SIGXFSZ (To do ...)	 */