diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-08-05 12:39:38 +0300 |
---|---|---|
committer | Joel Granados <joel.granados@kernel.org> | 2024-10-09 14:39:11 +0300 |
commit | 7abc9b53bd515d7953d1f4e069b062ec4b5ba9e7 (patch) | |
tree | 82b8b185321a48d2d32ad9c08183e39e9a22c070 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 29e1095bb1ad149b5c417719338d9c81d58bf12b (diff) | |
download | linux-7abc9b53bd515d7953d1f4e069b062ec4b5ba9e7.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions