Re: [PATCH v4 2/2] selftests/powerpc: Add a test for execute-only memory

2022-08-19 Thread Michael Ellerman
Nicholas Miehlbradt writes: > On 17/8/2022 4:15 pm, Jordan Niethe wrote: >> On Wed, 2022-08-17 at 15:06 +1000, Russell Currey wrote: >>> From: Nicholas Miehlbradt >>> >>> This selftest is designed to cover execute-only protections >>> on the Radix MMU but will also work with Hash. >>> >>> The tes

Re: [PATCH v4 2/2] selftests/powerpc: Add a test for execute-only memory

2022-08-18 Thread Nicholas Miehlbradt
On 17/8/2022 4:15 pm, Jordan Niethe wrote: On Wed, 2022-08-17 at 15:06 +1000, Russell Currey wrote: From: Nicholas Miehlbradt 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 mo

Re: [PATCH v4 2/2] selftests/powerpc: Add a test for execute-only memory

2022-08-16 Thread Jordan Niethe
On Wed, 2022-08-17 at 15:06 +1000, Russell Currey wrote: > From: Nicholas Miehlbradt > > 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 m

Re: [PATCH v4 2/2] selftests/powerpc: Add a test for execute-only memory

2022-08-16 Thread Christophe Leroy
Le 17/08/2022 à 07:06, Russell Currey a écrit : > From: Nicholas Miehlbradt > > 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

[PATCH v4 2/2] selftests/powerpc: Add a test for execute-only memory

2022-08-16 Thread Russell Currey
From: Nicholas Miehlbradt 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 Miehlb