mpx: Extend siginfo structure to include bound violation information
authorQiaowei Ren <qiaowei.ren@intel.com>
Fri, 14 Nov 2014 15:18:19 +0000 (07:18 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 17 Nov 2014 23:58:53 +0000 (00:58 +0100)
commitee1b58d36aa1b5a79eaba11f5c3633c88231da83
treec27ee172205f77faf191d3112b5a88d688c722c4
parent62e7759b1bdaf9b753c3724a56fcbe3235ebd5f3
mpx: Extend siginfo structure to include bound violation information

This patch adds new fields about bound violation into siginfo
structure. si_lower and si_upper are respectively lower bound
and upper bound when bound violation is caused.

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/20141114151819.1908C900@viggo.jf.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/uapi/asm-generic/siginfo.h
kernel/signal.c