Re: [PATCH 2/4] sysctl: Add 0012 to test the u8 range check

From: Kees Cook
Date: Wed Apr 09 2025 - 13:27:29 EST


On Fri, Mar 21, 2025 at 01:47:25PM +0100, Joel Granados wrote:
> Add a sysctl test that uses the new u8 test ctl files in a created by
> the sysctl test module. Check that the u8 proc file that is valid is
> created and that there are two messages in dmesg for the files that were
> out of range.
>
> Signed-off-by: Joel Granados <joel.granados@xxxxxxxxxx>

Reviewed-by: Kees Cook <kees@xxxxxxxxxx>

--
Kees Cook