Skip to contentSkip to conversation

security: Fix inode_getattr documentation

PATCH In review Mickaël Salaün 3 participants 3 messages Dec 21, 2016 – Jan 10, 2017 Security (LSM)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 security: Fix inode_getattr documentation

Replace arguments @mnt and @dentry with @path.

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
index 558adfa5c8a8..9cf50ad2fe20 100644
@@ -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
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Mickaël Salaün

Replace arguments @mnt and @dentry with @path.

Cc James Morris <[email protected]>
Cc Serge E. 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
index 558adfa5c8a8..9cf50ad2fe20 100644
@@ -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
maintainer
#2 lore raw
In reply to Mickaël Salaün
Quoted 8 lines · Mickaël Salaün

Replace arguments @mnt and @dentry with @path.

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 to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next

Signature · 2 lines
James Morris
<[email protected]>