diff options
author | Mickaël Salaün <mic@digikod.net> | 2016-12-22 02:32:25 +0300 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-01-10 09:39:23 +0300 |
commit | b8aa8453918ebfd93d78de56c2afd4b735e02e27 (patch) | |
tree | 29663909efd9c254789e64c0175d43116ef5e448 /include/linux | |
parent | 916cafdc95843fb9af5fd5f83ca499d75473d107 (diff) | |
download | linux-b8aa8453918ebfd93d78de56c2afd4b735e02e27.tar.xz |
security: Fix inode_getattr documentation
Replace arguments @mnt and @dentry with @path.
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Acked-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/lsm_hooks.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 558adfa5c8a8..9cf50ad2fe20 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -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 |