Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758644AbcLVAmv (ORCPT ); Wed, 21 Dec 2016 19:42:51 -0500 Received: from h2.hallyn.com ([78.46.35.8]:45232 "EHLO h2.hallyn.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752900AbcLVAmu (ORCPT ); Wed, 21 Dec 2016 19:42:50 -0500 Date: Wed, 21 Dec 2016 18:33:52 -0600 From: "Serge E. Hallyn" To: =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= Cc: linux-kernel@vger.kernel.org, James Morris , "Serge E . Hallyn" , linux-security-module@vger.kernel.org Subject: Re: [PATCH v1] security: Fix inode_getattr documentation Message-ID: <20161222003352.GA6819@mail.hallyn.com> References: <20161221233225.22803-1-mic@digikod.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20161221233225.22803-1-mic@digikod.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1026 Lines: 29 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 > Cc: James Morris > Cc: Serge E. Hallyn > --- Acked-by: Serge Hallyn > 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