Re: [PATCH v2 2/2] kselftest: vm: add tests for memory-deny-write-execute
From: Peter Xu
Date: Wed Mar 01 2023 - 11:38:57 EST
On Thu, Jan 19, 2023 at 04:03:44PM +0000, Joey Gouly wrote:
> From: Kees Cook <keescook@xxxxxxxxxxxx>
>
> Add some tests to cover the new PR_SET_MDWE prctl.
>
> Co-developed-by: Joey Gouly <joey.gouly@xxxxxxx>
> Signed-off-by: Joey Gouly <joey.gouly@xxxxxxx>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> Cc: Shuah Khan <shuah@xxxxxxxxxx>
May need to sync prctl.h into tools/include/uapi? Otherwise selftests/mm
build fails here. There's also one compiler report. A fixup attached
which works for me.
Thanks,
--
Peter Xu