summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDaan De Meyer <daan@amutable.com>2026-09-04 16:48:55 +0200
committerPaul Moore <paul@paul-moore.com>2026-09-11 14:15:19 -0400
commit16959c469f232f5c76cfb628297cafbf6dbdba79 (patch)
tree7d255089e7c17a29d83016a0674fbe3608cc41b7 /scripts/Makefile.thinlto
parentcd1f696de880c41ef0983d2c54999384a5cbf393 (diff)
downloadlinux-16959c469f232f5c76cfb628297cafbf6dbdba79.tar.gz
linux-16959c469f232f5c76cfb628297cafbf6dbdba79.zip
lsm: expose mount idmaps to inode hooks
OverlayFS performs upper-layer operations through inode-based security hooks. Those hooks receive the upper inode and dentry, but not the mount idmap used by the VFS operation. The security layer cannot distinguish an identity-mapped upper from an idmapped one or make the same ownership decision as the VFS. The VFS layer already passes the idmap down into all relevant inode operations so this just brings the security hooks to parity. So pass the mount idmap through the create, link, symlink, mkdir, mknod, and permission hooks. Update the in-tree security implementations and non-VFS callers accordingly. Signed-off-by: Daan De Meyer <daan@amutable.com> Reviewed-by: Christian Brauner (Amutable) <brauner@kernel.org> [PM: updated the commit description as discussed on-list] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions