aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2025-02-13 14:50:19 +0000
committerGreg Kroah-Hartman <[email protected]>2025-02-15 16:46:32 +0000
commit122ab92dee80582c39740609a627198dd5b6b595 (patch)
tree844eef25fcb95ace56d2c2d8c89b1c615b569e8a /security/selinux/hooks.c
parentkernfs: Acquire kernfs_rwsem in kernfs_notify_workfn(). (diff)
downloadkernel-122ab92dee80582c39740609a627198dd5b6b595.tar.gz
kernel-122ab92dee80582c39740609a627198dd5b6b595.zip
kernfs: Acquire kernfs_rwsem in kernfs_get_parent_dentry().
kernfs_get_parent_dentry() passes kernfs_node::parent to kernfs_get_inode(). Acquire kernfs_root::kernfs_rwsem to ensure kernfs_node::parent isn't replaced 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