Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp307361imj; Thu, 7 Feb 2019 04:46:21 -0800 (PST) X-Google-Smtp-Source: AHgI3IZqL/Uiq9UfHzzhJWhyQW9JjHQ6SzHlEB6hRRGfeLBdPHemcIC2jUf4qbzRCCDCrpDgjFca X-Received: by 2002:a17:902:6b46:: with SMTP id g6mr16263604plt.21.1549543581424; Thu, 07 Feb 2019 04:46:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549543581; cv=none; d=google.com; s=arc-20160816; b=U403c4Dnr/kZW0NYZcHoKrShVTWO8qsUNqtuA4wNK9wCB1/I6jGl69uOhYG9maTAGF beQgEZQoGnGr59U0WgCTd5DJBiTv7yk1x2axmgfVerYGRDN2pKi7hBTG5wOUwZNQpNMs 6YZgT/Ui6Jt8w9KfcFzxoUeXwSUZ9GF/sPyV2SpaCI8rJFaBXVglquAhVQ7SJilBORsF aa4+1j0fLD76FZKnF9kcmfxm6rq/3HMG3ryIuugerZQss9Zds2RoxZYHEQFU6/+Ijfwp b0SN9yuLzJ73W+Z1zXCVaCUXWbvYxmjiy5pivAz2WKKhPvg599UFjKk08B7slYbEatQg uTwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from; bh=nqtig5cSARzKTAd+AP5yjMr4+S0oEPAjpY7uuqPhmHc=; b=tO9UYRN9T9FCbU/TpqqMuyxqUg/rp05TikuKj1V2f4r9DLQilbuLZfYoqG2vPs5W8T lpq2a9wZZ8llq94YB35kk6ed5igxNkhijCeONKc0AftpyADI7nL7EGARukWkyigteWDT bBumo+xPeRzYyn0ePUBvHiXJJlx6lxs1hxXsK/6bP0Iy48O5yGy2ADEQ6xJNBNWIXVul uPyaB3+2G5h1Htl8icVrHbPrSUxOtlQxtkGd2gO36WuC678TxI0qY9XVOCB8hvGM+6z4 QsSvjm7CRc/TCi5BXAagzzcZt8SSNcCgqoXMljoNG71BPEUDCS2Y0zGv5V5aVXdxTh/b IcOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 12si9099456pfx.102.2019.02.07.04.46.05; Thu, 07 Feb 2019 04:46:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727280AbfBGMpi (ORCPT + 99 others); Thu, 7 Feb 2019 07:45:38 -0500 Received: from mail.ispras.ru ([83.149.199.45]:60670 "EHLO mail.ispras.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726769AbfBGMph (ORCPT ); Thu, 7 Feb 2019 07:45:37 -0500 Received: from green.intra.ispras.ru (pluton2.ispras.ru [83.149.199.44]) by mail.ispras.ru (Postfix) with ESMTPSA id D3B5A5400AE; Thu, 7 Feb 2019 15:45:34 +0300 (MSK) From: Denis Efremov To: Al Viro Cc: Denis Efremov , Casey Schaufler , "Eric W. Biederman" , Eric Paris , Kees Cook , John Johansen , James Morris , "Serge E. Hallyn" , Paul Moore , Kentaro Takeda , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/10] security: fix documentation for the path_chmod hook Date: Thu, 7 Feb 2019 15:44:54 +0300 Message-Id: <0275d06334cdb1d2a87384d7971924a70776b3cb.1549540487.git.efremov@ispras.ru> X-Mailer: git-send-email 2.17.2 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The path_chmod hook was changed in the commit "switch security_path_chmod() to struct path *" (cdcf116d44e7). The argument @mnt was removed from the hook, @dentry was changed to @path. This patch updates the documentation accordingly. Signed-off-by: Denis Efremov --- 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 cb93972257be..5d6428d0027b 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -304,8 +304,7 @@ * Return 0 if permission is granted. * @path_chmod: * Check for permission to change DAC's permission of a file or directory. - * @dentry contains the dentry structure. - * @mnt contains the vfsmnt structure. + * @path contains the path structure. * @mode contains DAC's mode. * Return 0 if permission is granted. * @path_chown: -- 2.17.2