]> git.karo-electronics.de Git - linux-beck.git/commit
x86/mpx: Restrict the mmap() size check to bounds tables
authorDave Hansen <dave.hansen@linux.intel.com>
Sun, 7 Jun 2015 18:37:02 +0000 (11:37 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 9 Jun 2015 10:24:31 +0000 (12:24 +0200)
commiteb099e5bc5457c42043e57cf0f4ce574669b9697
treee969f2269bd83ec3374daee2da146b0af1814d81
parent3c1d32300920a446c67d697cd6b80f012ad06028
x86/mpx: Restrict the mmap() size check to bounds tables

The comment and code here are confusing.  We do not currently
allocate the bounds directory in the kernel.

Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Dave Hansen <dave@sr71.net>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20150607183702.222CEC2A@viggo.jf.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/mpx.c