Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1633022imj; Sun, 17 Feb 2019 10:22:09 -0800 (PST) X-Google-Smtp-Source: AHgI3IatWAg0HKbhTPpajKZD0ml2zirEep0P6SqE448YVI5jS8qP/je0zljnQcOXRwnNoXVsfcEE X-Received: by 2002:a65:6642:: with SMTP id z2mr8387861pgv.196.1550427729207; Sun, 17 Feb 2019 10:22:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550427729; cv=none; d=google.com; s=arc-20160816; b=pIhDrALJQUx5GMuUiVoILf6+Ol+Kkg0LLzx0WN74cwyVAjYgnNeKIx9HB/XnGng7Ln VCWuVK0GGyMe25PqGsUFRlY7t1hLW9av5ufK6fpaAc4/b1v+3+xiLcN4HmvIXVZlE+Tg WaN1voiHsoX62zap44LjhfIBhLaiVP3kR2af6BQrWn9Y39OKdBoxfOtekuVhhE3y8l5I PeWCocQ6cFjWN+o1iasdlJHTDgoilMIhO6EYsqSlCfJ5BZbDaTtPcHLDghoA+1d1Ia+F +3Km4Bli7t8QjH8gvvwxXMwpQ+yczM2IEolkeZqhIZn+dp1X/VgPucGkLh358QNYp/s2 HgCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:organization:subject:cc:to:from:date :content-transfer-encoding:mime-version; bh=ekNXxfX+ftOGrdqRd5LSBx9B/f41eA5gXC+uax7j9u4=; b=Ut869wiUUkYZPquW+4klSvNl6PzQ59ke2aKPYNHcx23mOYO3JD5UiF77yZVHBSGm/b g0ukYu4CgWaeqhsxrD7Rt6yyr3vrJQJna6J4gd6snUvvZrTzOiNfzhYdTB+0n1nW3eKn rZpVhQ7MujmQNquXjlVVmeIPJX59Hbau/qgUu0KFbnQzZpqy633xAISZUtKGO0TAqdYM /G1JSNdu/MsCJ7XITkg6fVFd+C1QUL5mPoWWqqm2sSleuL+dx2d/lQyMTk/cgRvkejan nwnN+EB9BltJjB0nPDZBp9ojZo0PwxiEzpUlBb3PKSmOCvZJegDqc36+6aH1ZFFNTXxZ E6CQ== 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 e17si11110810pgd.109.2019.02.17.10.21.53; Sun, 17 Feb 2019 10:22:09 -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 S1728076AbfBQSEn (ORCPT + 99 others); Sun, 17 Feb 2019 13:04:43 -0500 Received: from mail.ispras.ru ([83.149.199.45]:42238 "EHLO mail.ispras.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbfBQSEm (ORCPT ); Sun, 17 Feb 2019 13:04:42 -0500 Received: from mail.ispras.ru (localhost [127.0.0.1]) by mail.ispras.ru (Postfix) with ESMTPSA id 60A61540093; Sun, 17 Feb 2019 21:04:39 +0300 (MSK) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sun, 17 Feb 2019 21:04:38 +0300 From: efremov To: Kees Cook Cc: linux-security-module , Casey Schaufler , "Eric W. Biederman" , Eric Paris , John Johansen , James Morris , "Serge E. Hallyn" , Paul Moore , Kentaro Takeda , LKML Subject: Re: [PATCH 00/10] LSM documentation update Organization: ISPRAS In-Reply-To: References: Message-ID: <67ff280b6867b9a594ee16b2ad83bb7f@ispras.ru> X-Sender: efremov@ispras.ru User-Agent: Roundcube Webmail/1.1.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kees Cook писал 2019-02-11 22:28: > On Thu, Feb 7, 2019 at 4:45 AM Denis Efremov wrote: >> >> Recent "New LSM Hooks" discussion has led me to the >> thought that it might be a good idea to slightly >> update the current documentation. The patchset adds >> nothing new to the documentation, only fixes the old >> description of hooks to reflect their current state. > > Do these fixes silence any warnings during the documentation build? > (i.e. how did you verify the results beyond eyeballing the changes) > > -Kees This LSM documentation is not used during the documentation build. At least I can't find it in the resulting build directory and at the online documentation on the kernel. Most of the fixes are pretty obvious and can be checked by comparing an lsm hook declaration and its description in the LSM comment from lsm_hooks.h I tried to be exhaustive in the commits description and in every case to reference the original commit where the interface was changed without documentation update. > >> >> Denis Efremov (10): >> security: fix documentation for the sb_copy_data hook >> security: fix documentation for the syslog hook >> security: fix documentation for the socket_post_create hook >> security: fix documentation for the task_setscheduler hook >> security: fix documentation for the socket_getpeersec_dgram hook >> security: fix documentation for the path_chmod hook >> security: fix documentation for the audit_* hooks >> security: fix documentation for the msg_queue_* hooks >> security: fix documentation for the sem_* hooks >> security: fix documentation for the shm_* hooks >> >> include/linux/lsm_hooks.h | 127 >> ++++++++++++++++++-------------------- >> 1 file changed, 61 insertions(+), 66 deletions(-) >> >> -- >> 2.17.2 >>