[PATCH 26/31] x86, pkeys: add arch_validate_pkey()

2016-01-29 Thread Dave Hansen
From: Dave Hansen 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

[PATCH 26/31] x86, pkeys: add arch_validate_pkey()

2016-01-29 Thread Dave Hansen
From: Dave Hansen 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

[PATCH 26/31] x86, pkeys: add arch_validate_pkey()

2016-01-06 Thread Dave Hansen
From: Dave Hansen 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

[PATCH 26/31] x86, pkeys: add arch_validate_pkey()

2016-01-06 Thread Dave Hansen
From: Dave Hansen 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