All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] security: Fix inode_getattr documentation
@ 2016-12-21 23:32 Mickaël Salaün
  2016-12-22  0:33 ` Serge E. Hallyn
  2017-01-10  6:13 ` James Morris
  0 siblings, 2 replies; 3+ messages in thread
From: Mickaël Salaün @ 2016-12-21 23:32 UTC (permalink / raw)
  To: linux-kernel
  Cc: James Morris, Serge E . Hallyn, linux-security-module,
	Mickaël Salaün

Replace arguments @mnt and @dentry with @path.

Signed-off-by: Mickaël Salaün <mic@digikod.net>
Cc: James Morris <james.l.morris@oracle.com>
Cc: Serge E. Hallyn <serge@hallyn.com>
---
 include/linux/lsm_hooks.h | 3 +--
 1 file changed, 1 insertion(+), 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
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] security: Fix inode_getattr documentation
  2016-12-21 23:32 [PATCH v1] security: Fix inode_getattr documentation Mickaël Salaün
@ 2016-12-22  0:33 ` Serge E. Hallyn
  2017-01-10  6:13 ` James Morris
  1 sibling, 0 replies; 3+ messages in thread
From: Serge E. Hallyn @ 2016-12-22  0:33 UTC (permalink / raw)
  To: Mickaël Salaün
  Cc: linux-kernel, James Morris, Serge E . Hallyn, linux-security-module

On Thu, Dec 22, 2016 at 12:32:25AM +0100, Mickaël Salaün wrote:
> Replace arguments @mnt and @dentry with @path.
> 
> Signed-off-by: Mickaël Salaün <mic@digikod.net>
> Cc: James Morris <james.l.morris@oracle.com>
> Cc: Serge E. Hallyn <serge@hallyn.com>
> ---

Acked-by: Serge Hallyn <serge@hallyn.com>

>  include/linux/lsm_hooks.h | 3 +--
>  1 file changed, 1 insertion(+), 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
> -- 
> 2.11.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] security: Fix inode_getattr documentation
  2016-12-21 23:32 [PATCH v1] security: Fix inode_getattr documentation Mickaël Salaün
  2016-12-22  0:33 ` Serge E. Hallyn
@ 2017-01-10  6:13 ` James Morris
  1 sibling, 0 replies; 3+ messages in thread
From: James Morris @ 2017-01-10  6:13 UTC (permalink / raw)
  To: Mickaël Salaün
  Cc: linux-kernel, James Morris, Serge E . Hallyn, linux-security-module

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

On Thu, 22 Dec 2016, Mickaël Salaün wrote:

> Replace arguments @mnt and @dentry with @path.
> 
> Signed-off-by: Mickaël Salaün <mic@digikod.net>
> Cc: James Morris <james.l.morris@oracle.com>
> Cc: Serge E. Hallyn <serge@hallyn.com>
> ---
>  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


-- 
James Morris
<jmorris@namei.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-10  6:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-21 23:32 [PATCH v1] security: Fix inode_getattr documentation Mickaël Salaün
2016-12-22  0:33 ` Serge E. Hallyn
2017-01-10  6:13 ` James Morris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.