commit | acb25d761d6f2f64e785ccefc71e54f244f1eda4 | [log] [tgz] |
---|---|---|
author | Dave Hansen <[email protected]> | Wed May 09 10:13:54 2018 -0700 |
committer | Ingo Molnar <[email protected]> | Mon May 14 11:14:45 2018 +0200 |
tree | 4bda589bbbb209d044f459d82e9cf86e6455eb7b | |
parent | 3d64f4ed15c3c53dba4c514bf59c334464dee373 [diff] |
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 <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Michael Ellermen <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ram Pai <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>