From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-6.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 79EAF7D04D for ; Sun, 17 Feb 2019 22:19:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726283AbfBQWTE (ORCPT ); Sun, 17 Feb 2019 17:19:04 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:43609 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726349AbfBQWTE (ORCPT ); Sun, 17 Feb 2019 17:19:04 -0500 Received: by mail-pl1-f195.google.com with SMTP id f90so7712232plb.10 for ; Sun, 17 Feb 2019 14:19:04 -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=KJNye/PmwwFsvGBD2ba8RYcJKpkja7n62w6ozsZOr4LeVT9P3QMOGNW+NtqJ5jE2Tw 9UYTUf3ETn81vsFZ5JG3rbl8Gyn5q1V4FlLXkGgGe0NB6frk+eEekwAYmomz+Gtu3XhH UdwdOQAdZD0nd+MSj3AW4J1/bwu58fCpIrQaEiRhSa648ehPSMVArppsWAVZqYETp6Ba VRzSteB9nr47CAlGfjv/7TIbK4NQ8tQqVT/V7QMIeiRGyllMaDG7ua/dmVU2WwQS/y7U lz7ck9AUSy4Z91yMiLYNLR8dfLuFZjfF5BWX31NCTKRiGjAZz00iYkVMfrnht9JOh9lV sRuQ== X-Gm-Message-State: AHQUAuYSIJBkb5Ft/38OVPE2Rbsj0nnemu/52VEaMucZJM2/3y54v5Tp FD1Jf6RTLZNRBTSCtdPbZe4ekg== 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-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org 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: -- 2.17.1 -- Kees Cook