summaryrefslogtreecommitdiffstats
path: root/include/linux/lsm_hooks.h
diff options
context:
space:
mode:
authorMickaël Salaün2016-12-22 00:32:25 +0100
committerJames Morris2017-01-10 07:39:23 +0100
commitb8aa8453918ebfd93d78de56c2afd4b735e02e27 (patch)
tree29663909efd9c254789e64c0175d43116ef5e448 /include/linux/lsm_hooks.h
parentsamples/seccomp: fix 64-bit comparison macros (diff)
downloadkernel-qcow2-linux-b8aa8453918ebfd93d78de56c2afd4b735e02e27.tar.gz
kernel-qcow2-linux-b8aa8453918ebfd93d78de56c2afd4b735e02e27.tar.xz
kernel-qcow2-linux-b8aa8453918ebfd93d78de56c2afd4b735e02e27.zip
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/lsm_hooks.h')
-rw-r--r--include/linux/lsm_hooks.h3
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