On Mon, Dec 04, 2023 at 08:52:21AM +0100, Thomas Weißschuh wrote: > In a future commit the proc_handlers will change to > "const struct ctl_table". > As a preparation for that adapt the logic to work with a temporary > variable, similar to how it is done in other parts of the kernel. > > Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx> Looks good -- thanks for catching the table-modification cases. Acked-by: Kees Cook <keescook@xxxxxxxxxxxx> -- Kees Cook