summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-09-01 14:14:52 +0200
committerChristian Brauner <brauner@kernel.org>2026-09-23 09:19:52 +0200
commit04fcaedd250ed2213eb65eec40d379c2f275aa02 (patch)
tree30b8c182066c7f285cdf0821f18682593fa549da /tools/lib/python
parent025756ee7b476241270dd8ccbe17cc4c473800fa (diff)
downloadlinux-next-04fcaedd250ed2213eb65eec40d379c2f275aa02.tar.gz
linux-next-04fcaedd250ed2213eb65eec40d379c2f275aa02.zip
fs: make nop_mnt_idmap and invalid_mnt_idmap const
Make both static maps const so they end up in rodata. Any attempt to modify them now faults instead of silently corrupting the initial idmapping. Link: https://patch.msgid.link/20260901-work-idmap-const-v1-27-54ccd48e100b@kernel.org Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Seth Forshee <sforshee@kernel.org> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions