Re: [PATCH] sysctl: const-ify ngroups_max

From: Kees Cook
Date: Mon May 18 2020 - 12:08:27 EST


On Mon, May 18, 2020 at 05:57:27PM +0200, Stephen Kitt wrote:
> ngroups_max is a read-only sysctl entry, reflecting NGROUPS_MAX. Make
> it const, in the same way as cap_last_cap.
>
> Signed-off-by: Stephen Kitt <steve@xxxxxxx>

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook