diff options
author | Thomas Weißschuh <[email protected]> | 2024-08-05 11:39:38 +0200 |
---|---|---|
committer | Joel Granados <[email protected]> | 2024-10-09 13:39:11 +0200 |
commit | 7abc9b53bd515d7953d1f4e069b062ec4b5ba9e7 (patch) | |
tree | 82b8b185321a48d2d32ad9c08183e39e9a22c070 /scripts/const_structs.checkpatch | |
parent | 29e1095bb1ad149b5c417719338d9c81d58bf12b (diff) |
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 <[email protected]>
Acked-by: Kees Cook <[email protected]>
Reviewed-by: Kees Cook <[email protected]> # security/*
Signed-off-by: Joel Granados <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions