From patchwork Tue Oct 9 00:46:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10631737 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6CBC3112B for ; Tue, 9 Oct 2018 00:46:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FC2A29AC3 for ; Tue, 9 Oct 2018 00:46:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 53D9829CEF; Tue, 9 Oct 2018 00:46:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F60729D5D for ; Tue, 9 Oct 2018 00:46:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725823AbeJIIA2 (ORCPT ); Tue, 9 Oct 2018 04:00:28 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36400 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725749AbeJIIA2 (ORCPT ); Tue, 9 Oct 2018 04:00:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=w85IpUwQo8xYzSv+H0ioqTbXHarO75e0dSv4SobL4qE=; b=pVtX+kvqZwDzH1soFPQlZp9ea Tybj+PIeKvbw5BmhSDgR+h34LuFEbPcUy8PQHf7ostCMSOU17Gndcuv6Rh7VZyeFD4KOBWOwwclsp lNbP8P0jAPbY8heFXEQ9m77FNuxyj7SVwHXF/ATBac0o03gTYvsdqlWFFF7+hCQyFoA2kOTVrR1IV f3p+Puxkgl2lnsKrDyyReWRrDcR5cteZDnp7ae74+jEGOvPKB9wO4Lxs6WO+LfXRkB88V640tdzTZ mcDfLD3hG+7lyDK8mOr8eNm+mdDLN0ACPW08gbLvsdeC400Up8fL6225GDr+dVMcUzkOzLvic475+ IzcrmoECw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9gA3-0005Ga-LU; Tue, 09 Oct 2018 00:46:07 +0000 To: LKML , James Morris , "Serge E. Hallyn" Cc: linux-security-module@vger.kernel.org, "linux-doc@vger.kernel.org" , Kees Cook From: Randy Dunlap Subject: [PATCH] security: fix LSM description location Message-ID: Date: Mon, 8 Oct 2018 17:46:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Language: en-US Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap Fix Documentation location reference for where LSM descriptions should be placed. Suggested-by: Kees Cook Signed-off-by: Randy Dunlap Cc: James Morris Cc: "Serge E. Hallyn" Cc: linux-security-module@vger.kernel.org Acked-by: Kees Cook --- Documentation/security/LSM.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- lnx-419-rc7.orig/Documentation/security/LSM.rst +++ lnx-419-rc7/Documentation/security/LSM.rst @@ -5,7 +5,7 @@ Linux Security Module Development Based on https://lkml.org/lkml/2007/10/26/215, a new LSM is accepted into the kernel when its intent (a description of what it tries to protect against and in what cases one would expect to -use it) has been appropriately documented in ``Documentation/security/LSM.rst``. +use it) has been appropriately documented in ``Documentation/admin-guide/LSM/``. This allows an LSM's code to be easily compared to its goals, and so that end users and distros can make a more informed decision about which LSMs suit their requirements.