lkml.org 
[lkml]   [2016]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 26/31] x86, pkeys: add arch_validate_pkey()
On Wed, 6 Jan 2016, Dave Hansen wrote:
>
> From: Dave Hansen <dave.hansen@linux.intel.com>
>
> The syscall-level code is passed a protection key and need to
> return an appropriate error code if the protection key is bogus.
> We will be using this in subsequent patches.
>
> Note that this also begins a series of arch-specific calls that
> we need to expose in otherwise arch-independent code. We create
> a linux/pkeys.h header where we will put *all* the stubs for
> these functions.
>
> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>

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

\
 
 \ /
  Last update: 2016-01-08 21:01    [W:0.173 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site