diff options
author | Dave Hansen <dave.hansen@linux.intel.com> | 2018-05-09 19:13:54 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-05-14 11:14:45 +0200 |
commit | acb25d761d6f2f64e785ccefc71e54f244f1eda4 (patch) | |
tree | 4bda589bbbb209d044f459d82e9cf86e6455eb7b /arch/x86/include/asm/pkeys.h | |
parent | x86/pkeys/selftests: Fix pointer math (diff) | |
download | linux-acb25d761d6f2f64e785ccefc71e54f244f1eda4.tar.xz linux-acb25d761d6f2f64e785ccefc71e54f244f1eda4.zip |
x86/pkeys/selftests: Save off 'prot' for allocations
This makes it possible to to tell what 'prot' a given allocation
is supposed to have. That way, if we want to change just the
pkey, we know what 'prot' to pass to mprotect_pkey().
Also, keep a record of the most recent allocation so the tests
can easily find it.
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Michael Ellermen <mpe@ellerman.id.au>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ram Pai <linuxram@us.ibm.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mm@kvack.org
Link: http://lkml.kernel.org/r/20180509171354.AA23E228@viggo.jf.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/pkeys.h')
0 files changed, 0 insertions, 0 deletions