Re: [PATCH] sysctl: constify ctl_table arguments of utility function

From: Joel Granados
Date: Wed May 15 2024 - 03:48:59 EST


On Mon, May 13, 2024 at 12:47:07PM -0700, Kees Cook wrote:
> On Mon, May 13, 2024 at 11:25:18AM +0200, Joel Granados via B4 Relay wrote:
> > From: Thomas Wei�chuh <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�chuh <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?

I was planning to queue this for v6.11. I expect the other patches (1/11 - 9/11)
will make it to mainline at that point.

This patchset has no dependencies and can easily go into v6.11 as it is trivial,
the generated assember (in x86_64 at least) is unchanged and it has been tested
it in 0-day.

>
> Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
>
> --
> Kees Cook

--

Joel Granados

Attachment: signature.asc
Description: PGP signature