aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2025-02-13 14:50:20 +0000
committerGreg Kroah-Hartman <[email protected]>2025-02-15 16:46:32 +0000
commit5b2fabf7fe8f745ff214ff003e6067b64f172271 (patch)
tree405da8cf4b799ab4eb890de892b42c59d2936fa7 /security/selinux/hooks.c
parentkernfs: Acquire kernfs_rwsem in kernfs_get_parent_dentry(). (diff)
downloadkernel-5b2fabf7fe8f745ff214ff003e6067b64f172271.tar.gz
kernel-5b2fabf7fe8f745ff214ff003e6067b64f172271.zip
kernfs: Acquire kernfs_rwsem in kernfs_node_dentry().
kernfs_node_dentry() passes kernfs_node::name to lookup_positive_unlocked(). Acquire kernfs_root::kernfs_rwsem to ensure the node is not renamed during the operation. Acked-by: Tejun Heo <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions