summaryrefslogtreecommitdiffstats
path: root/Documentation/hid
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2018-05-09 10:13:50 -0700
committerIngo Molnar <mingo@kernel.org>2018-05-14 11:14:45 +0200
commitf50b4878329ab61d8e05796f655adeb6f5fb57c6 (patch)
tree60d88c468ac853a3982ab8221a19a363f69780d6 /Documentation/hid
parent6af17cf89e99b64cf1f660bf848755442ab2f047 (diff)
downloadop-kernel-dev-f50b4878329ab61d8e05796f655adeb6f5fb57c6.zip
op-kernel-dev-f50b4878329ab61d8e05796f655adeb6f5fb57c6.tar.gz
x86/pkeys/selftests: Fix pkey exhaustion test off-by-one
In our "exhaust all pkeys" test, we make sure that there is the expected number available. Turns out that the test did not cover the execute-only key, but discussed it anyway. It did *not* discuss the test-allocated key. Now that we have a test for the mprotect(PROT_EXEC) case, this off-by-one issue showed itself. Correct the off-by- one and add the explanation for the case we missed. 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/20180509171350.E1656B95@viggo.jf.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/hid')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud