Thomas Weißschuh 7abc9b53bd sysctl: allow registration of const struct ctl_table
Putting structure, especially those containing function pointers,
into read-only memory makes the safer and easier to reason about.
Change the sysctl registration APIs to allow registration of
"const struct ctl_table".

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Kees Cook <keescook@chromium.org> # security/*
Signed-off-by: Joel Granados <joel.granados@kernel.org>
2024-10-09 13:39:11 +02:00
..
2024-10-01 08:15:55 +10:00
2024-09-20 18:28:26 +03:00
2024-09-17 10:48:09 +02:00
2024-10-04 10:05:13 -07:00
2024-09-25 14:15:04 +02:00