Re: [PATCH v3 5/5] kselftest: vm: Add tests for no-inherit memory-deny-write-execute

From: Catalin Marinas
Date: Sun Aug 27 2023 - 09:12:11 EST


On Tue, Jul 04, 2023 at 05:36:29PM +0200, Florent Revest wrote:
> Add some tests to cover the new PR_MDWE_NO_INHERIT flag of the
> PR_SET_MDWE prctl.
>
> Check that:
> - it can't be set without PR_SET_MDWE
> - MDWE flags can't be unset
> - when set, PR_SET_MDWE doesn't propagate to children
>
> Signed-off-by: Florent Revest <revest@xxxxxxxxxxxx>

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>