Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp307985imj; Thu, 7 Feb 2019 04:47:04 -0800 (PST) X-Google-Smtp-Source: AHgI3IZPVvLxqK+v9/uTXQcfY/ep9llTxtUYCreNndDRuwCQUrscjICRhz2uor84bRKHBqQEBz5G X-Received: by 2002:a63:101:: with SMTP id 1mr14713947pgb.152.1549543624540; Thu, 07 Feb 2019 04:47:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549543624; cv=none; d=google.com; s=arc-20160816; b=uRHXGcfOJUeHlDa/aYxz/dQGpO+C/UWZtdwl1cd0qRZ8BedhIQW7B9L1BL4X0nxGp0 a/GgdknKBhg7DyEaTifalCl6jWBgSJC7dyD6oT46439gpRtWLA0c04BAf//rKNshzrQU 1sdRJH9Oe5JxuqxBY3o3keeywX2DqY4Hgd/SGbChdDp/i/1Xmgadp5tzZUmqG82kko4A vQ+wNMkabMy+BdFSmRXoDqKSikVHL/Y+UPBDnRi5C0u9iq7r8+TesmYCe64ju0Ie4eFZ IlBl70nWoflExXOX9lbMAkE4gtXX0YDjxm7+/L6KMuJUS+FJGxVRRbSphbQIk/5soFAv 0ZSA== 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=1IehVyVk038oRTg8yavefPNxv/sj18Qeo5ToHag09Ts=; b=TwcN8dZwlkQYiqtkdiOLQ7iz3+/XOqPZMqRXwrKxEfonHJu1kdKxBlrxb/nBmq1QPO jzXa/DH6FO84Ooj3AKt3iEEddeQjo9k/tYA3ZeUhkHbBUrbCGyAd+qNbc6jaBA6L4YcP jRvj4Nrr7IzfvPxrt5k+ZaxzCgM3gZP/bGAJNo2IaayxZdSY18vlfXhyNTmPh7jYHDy/ Yq2AXQzEBrIGY7/Lv6tWJHj5lVgDZiv9si+6ZmTmlfJWJbxVpwF0RKIuK42VNuBckgdc 8EsZBIY9xWlRuz8UDjn+0RSh1beVqjbUQ/xn0fqm5r2I2Wr/mYYbl6WM179tGCCCMJzP JEjg== 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 gn22si8970915plb.19.2019.02.07.04.46.48; Thu, 07 Feb 2019 04:47:04 -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 S1727307AbfBGMpp (ORCPT + 99 others); Thu, 7 Feb 2019 07:45:45 -0500 Received: from mail.ispras.ru ([83.149.199.45]:60706 "EHLO mail.ispras.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726769AbfBGMpn (ORCPT ); Thu, 7 Feb 2019 07:45:43 -0500 Received: from green.intra.ispras.ru (pluton2.ispras.ru [83.149.199.44]) by mail.ispras.ru (Postfix) with ESMTPSA id B25845400AA; Thu, 7 Feb 2019 15:45:41 +0300 (MSK) From: Denis Efremov To: Casey Schaufler Cc: Denis Efremov , "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 07/10] security: fix documentation for the audit_* hooks Date: Thu, 7 Feb 2019 15:44:55 +0300 Message-Id: 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 This patch updates the documentation for the audit_* hooks to use the same arguments names as in the hook's declarations. Signed-off-by: Denis Efremov --- include/linux/lsm_hooks.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 5d6428d0027b..307714b8b072 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -1329,7 +1329,7 @@ * @audit_rule_known: * Specifies whether given @rule contains any fields related to * current LSM. - * @rule contains the audit rule of interest. + * @krule contains the audit rule of interest. * Return 1 in case of relation found, 0 otherwise. * * @audit_rule_match: @@ -1338,14 +1338,14 @@ * @secid contains the security id in question. * @field contains the field which relates to current LSM. * @op contains the operator that will be used for matching. - * @rule points to the audit rule that will be checked against. + * @lsmrule points to the audit rule that will be checked against. * @actx points to the audit context associated with the check. * Return 1 if secid matches the rule, 0 if it does not, -ERRNO on failure. * * @audit_rule_free: * Deallocate the LSM audit rule structure previously allocated by * audit_rule_init. - * @rule contains the allocated rule + * @lsmrule contains the allocated rule. * * @inode_invalidate_secctx: * Notify the security module that it must revalidate the security context -- 2.17.2