mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Serge E. Hallyn" <serge@hallyn.com>
To: "Mickaël Salaün" <mic@digikod.net>
Cc: linux-kernel@vger.kernel.org,
	James Morris <james.l.morris@oracle.com>,
	"Serge E . Hallyn" <serge@hallyn.com>,
	linux-security-module@vger.kernel.org
Subject: Re: [PATCH v1] security: Fix inode_getattr documentation
Date: Wed, 21 Dec 2016 18:33:52 -0600	[thread overview]
Message-ID: <20161222003352.GA6819@mail.hallyn.com> (raw)
In-Reply-To: <20161221233225.22803-1-mic@digikod.net>

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

  reply	other threads:[~2016-12-22  0:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-21 23:32 Mickaël Salaün
2016-12-22  0:33 ` Serge E. Hallyn [this message]
2017-01-10  6:13 ` James Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161222003352.GA6819@mail.hallyn.com \
    --to=serge@hallyn.com \
    --cc=james.l.morris@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=mic@digikod.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome