Home
last modified time | relevance | path

Searched hist:"98 acee3f8db451eaab9fbd422e523c228aacf08c" (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/powerpc/mm/
H A Dexec_prot.c98acee3f8db451eaab9fbd422e523c228aacf08c Wed Aug 17 07:06:40 CEST 2022 Nicholas Miehlbradt <nicholas@linux.ibm.com> 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 <nicholas@linux.ibm.com>
Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220817050640.406017-2-ruscur@russell.cc
H A DMakefilediff 98acee3f8db451eaab9fbd422e523c228aacf08c Wed Aug 17 07:06:40 CEST 2022 Nicholas Miehlbradt <nicholas@linux.ibm.com> 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 <nicholas@linux.ibm.com>
Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220817050640.406017-2-ruscur@russell.cc