lkml.org 
[lkml]   [2015]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 16/37] x86, pkeys: notify userspace about protection key faults
On Mon, 16 Nov 2015, Dave Hansen wrote:
> Note that _pkey is a 64-bit value. The current hardware only
> supports 4-bit protection keys. We do this because there is
> _plenty_ of space in _sigfault and it is possible that future
> processors would support more than 4 bits of protection keys.
>
> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
> ---
>
> b/arch/x86/include/asm/pgtable_types.h | 5 ++
> b/arch/x86/mm/fault.c | 59 ++++++++++++++++++++++++++++++++-
> b/include/uapi/asm-generic/siginfo.h | 17 ++++++---
> b/kernel/signal.c | 4 ++

I'd be nice to split the core changes from the x86 implementation.

Other than that: Reviewed-by: Thomas Gleixner <tglx@linutronix.de>


\
 
 \ /
  Last update: 2015-11-27 11:21    [W:0.221 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site