From patchwork Sun Feb 17 22:19:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees Cook X-Patchwork-Id: 10817221 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 E37161575 for ; Sun, 17 Feb 2019 22:19:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8EED29D05 for ; Sun, 17 Feb 2019 22:19:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD16929D0F; Sun, 17 Feb 2019 22:19:05 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 6401E29D05 for ; Sun, 17 Feb 2019 22:19:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726371AbfBQWTE (ORCPT ); Sun, 17 Feb 2019 17:19:04 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:45242 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726283AbfBQWTE (ORCPT ); Sun, 17 Feb 2019 17:19:04 -0500 Received: by mail-pl1-f194.google.com with SMTP id r14so7708866pls.12 for ; Sun, 17 Feb 2019 14:19:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=ehJ5l7zl5GcH3pulBWL6yMGSbcSlnXfgoJd7ExWqT38=; b=SG0l6A6P/hPKBrUCZmQ1cNdv/oQgJqyPC46MdB+dLeXVy0s60tcGq/qq58OX288Wpc zNmUYEoslb6O6Sb3aWmN2o6CX0WUdri2hF/xwSeT+Kug0bcMASTEps46yQ4ivHbyDEke 61qJrupamV64Y4n0Lk345Nyf5U7y44j+civJE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=ehJ5l7zl5GcH3pulBWL6yMGSbcSlnXfgoJd7ExWqT38=; b=co/fpk4hy88l5SedUet5sXM/9kPRwen454iXyrjtoGQ2NAnMFgmkTZTsXZL7lIjST2 J6CoPcRy1D7yMhRMEoPU/ITxldGFr3zF61ZkLvcvjDFGkiZfxa18MWLgVSjhZc1rDvqm qo+HROSSovz7YSREJMLWF03nVhg8naLt1libtMFGC9802PHZTNjE39kRgL5HoNUbBgHo p7XBVPkGAoy6KT3gvjqEMtgOHmqfnlxlOapkfd07nNabjo13SVJn+khdMHlU/9npDwOv Q+CiI/pFqkFdL/CIjEm4Eh65gLXm3WzcLlPOE3dyaeJ0UWwKEwpDFFRVjnQjuBhrT7OO ECiA== X-Gm-Message-State: AHQUAuZ/Du8cfORdi6iVjYjSEQVFtH6qJ9OExFOLumvV+KSre2CnLId0 kDCOsAkis9lLeYB1z8QHVyhR7g1cpQs= X-Google-Smtp-Source: AHgI3IZHgxNUIg/i9IZSRczYFFgfpXkJy1F7TJw0LzZ6blHPsBl8PYxJW4ZPTBdZf1yNq6jlczN/yg== X-Received: by 2002:a17:902:8f98:: with SMTP id z24mr21577540plo.40.1550441943714; Sun, 17 Feb 2019 14:19:03 -0800 (PST) Received: from www.outflux.net (173-164-112-133-Oregon.hfc.comcastbusiness.net. [173.164.112.133]) by smtp.gmail.com with ESMTPSA id 64sm18521293pfe.143.2019.02.17.14.19.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Feb 2019 14:19:02 -0800 (PST) Date: Sun, 17 Feb 2019 14:19:01 -0800 From: Kees Cook To: Jonathan Corbet Cc: efremov , James Morris , linux-doc@vger.kernel.org, linux-security-module , LKML Subject: [PATCH] doc: security: Add kern-doc for lsm_hooks.h Message-ID: <20190217221901.GA41920@beast> MIME-Version: 1.0 Content-Disposition: inline Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: X-Virus-Scanned: ClamAV using ClamSMTP There is a lot of kern-doc for the LSM internals, but it wasn't visible in the HTML output. This exposes some formatting flaws in lsm_hooks.h that will be fixed in a later series of patches. Signed-off-by: Kees Cook --- Documentation/security/LSM.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/security/LSM.rst b/Documentation/security/LSM.rst index 8b9ee597e9d0..31d92bc5fdd2 100644 --- a/Documentation/security/LSM.rst +++ b/Documentation/security/LSM.rst @@ -11,4 +11,7 @@ that end users and distros can make a more informed decision about which LSMs suit their requirements. For extensive documentation on the available LSM hook interfaces, please -see ``include/linux/lsm_hooks.h``. +see ``include/linux/lsm_hooks.h`` and associated structures: + +.. kernel-doc:: include/linux/lsm_hooks.h + :internal: