summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorMax Kellermann <max.kellermann@ionos.com>2025-09-09 10:55:06 +0300
committerChristian Brauner <brauner@kernel.org>2025-09-15 15:28:37 +0300
commit796667c9dc94ef9431d4ac620021527b273080e1 (patch)
tree6b65cf2fc0832cee53fcff4f984a3e85b306b853 /tools/lib/python
parentc593b9d6c446510684da400833f9d632651942f0 (diff)
downloadlinux-796667c9dc94ef9431d4ac620021527b273080e1.tar.xz
fs/proc/namespaces: make ns_entries const
Global variables that are never modified should be "const" so so that they live in the .rodata section instead of the .data section of the kernel, gaining the protection of the kernel's strict memory permissions as described in Documentation/security/self-protection.rst Signed-off-by: Max Kellermann <max.kellermann@ionos.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions