aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNicholas Miehlbradt <[email protected]>2022-08-17 05:06:40 +0000
committerMichael Ellerman <[email protected]>2022-08-26 01:02:21 +0000
commit98acee3f8db451eaab9fbd422e523c228aacf08c (patch)
tree2afb3c1e4a638a518367ac71da2d4d05c562df9f /arch/powerpc/lib/code-patching.c
parentpowerpc/mm: Support execute-only memory on the Radix MMU (diff)
downloadkernel-98acee3f8db451eaab9fbd422e523c228aacf08c.tar.gz
kernel-98acee3f8db451eaab9fbd422e523c228aacf08c.zip
selftests/powerpc: Add a test for execute-only memory
This selftest is designed to cover execute-only protections on the Radix MMU but will also work with Hash. The tests are based on those found in pkey_exec_test with modifications to use the generic mprotect() instead of the pkey variants. Signed-off-by: Nicholas Miehlbradt <[email protected]> Signed-off-by: Russell Currey <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions