Re: [PATCH v4 3/6] kselftest: vm: Check errnos in mdwe_test

From: Kees Cook
Date: Mon Aug 28 2023 - 14:46:55 EST


On Mon, Aug 28, 2023 at 05:08:55PM +0200, Florent Revest wrote:
> Invalid prctls return a negative code and set errno. It's good practice
> to check that errno is set as expected.
>
> Signed-off-by: Florent Revest <revest@xxxxxxxxxxxx>

Thanks!

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook