security: Fix inode_getattr documentation
PATCH 1/1 security: Fix inode_getattr documentation
Replace arguments @mnt and @dentry with @path.
Signed-off-by Mickaël Salaün <[email protected]>
Cc James Morris <[email protected]>
Cc Serge E. Hallyn <[email protected]>
--- include/linux/lsm_hooks.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/lsm_hooks.h +1 -2
@@ -352,8 +352,7 @@* Return 0 if permission is granted. * @inode_getattr: * Check permission before obtaining file attributes. -* @mnt is the vfsmount where the dentry was looked up -* @dentry contains the dentry structure for the file. +* @path contains the path structure for the file. * Return 0 if permission is granted. * @inode_setxattr: * Check permission before setting the extended attributes
Signature · 1 line
2.11.0
Quoted 6 lines · Mickaël Salaün
Replace arguments @mnt and @dentry with @path.
Signed-off-by Mickaël Salaün <[email protected]>Cc James Morris <[email protected]>Cc Serge E. Hallyn <[email protected]>---
Acked-by Serge Hallyn <[email protected]>
Quoted 19 lines
include/linux/lsm_hooks.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)include/linux/lsm_hooks.h +1
-2@@ -352,8 +352,7 @@* Return 0 if permission is granted. * @inode_getattr: * Check permission before obtaining file attributes. -* @mnt is the vfsmount where the dentry was looked up -* @dentry contains the dentry structure for the file. +* @path contains the path structure for the file. * Return 0 if permission is granted. * @inode_setxattr: * Check permission before setting the extended attributes Signature · 1 line
2.11.0
James Morris
maintainerQuoted 8 lines · Mickaël Salaün
Replace arguments @mnt and @dentry with @path.
Signed-off-by Mickaël Salaün <[email protected]>Cc James Morris <[email protected]>Cc Serge E. Hallyn <[email protected]>--- include/linux/lsm_hooks.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Applied togit://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next
Signature · 2 lines
James Morris <[email protected]>