Re: [PATCH] sysctl: constify ctl_table arguments of utility function
From: Kees Cook
Date: Mon May 13 2024 - 15:47:19 EST
On Mon, May 13, 2024 at 11:25:18AM +0200, Joel Granados via B4 Relay wrote:
> From: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
>
> In a future commit the proc_handlers themselves will change to
> "const struct ctl_table". As a preparation for that adapt the internal
> helper.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
Yup, looks good. At what point is this safe to apply to Linus's tree?
i.e. what prerequisite patches need to land before this?
Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
--
Kees Cook