]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sysctl: constify ctl_table arguments of utility function
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 13 May 2024 09:25:18 +0000 (11:25 +0200)
committerJoel Granados <j.granados@samsung.com>
Mon, 3 Jun 2024 13:16:15 +0000 (15:16 +0200)
commit32fe91524e1651b9a0e11ddfbc63de9aa485cf48
tree8c6531a0fa5cf9622f64f8124c7525da5042286f
parent4154342bf153a6c2a2820e3d517188d7c76f7055
sysctl: constify ctl_table arguments of utility function

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@weissschuh.net>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Joel Granados <j.granados@samsung.com>
include/linux/sysctl.h
kernel/sysctl.c