diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-09-01 14:14:52 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-09-23 09:19:52 +0200 |
| commit | 04fcaedd250ed2213eb65eec40d379c2f275aa02 (patch) | |
| tree | 30b8c182066c7f285cdf0821f18682593fa549da /tools/lib/python | |
| parent | 025756ee7b476241270dd8ccbe17cc4c473800fa (diff) | |
| download | linux-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
