doc: security: Add kern-doc for lsm_hooks.h
authorKees Cook <keescook@chromium.org>
Sun, 17 Feb 2019 22:19:01 +0000 (14:19 -0800)
committerJonathan Corbet <corbet@lwn.net>
Fri, 22 Feb 2019 15:54:09 +0000 (08:54 -0700)
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 <keescook@chromium.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/security/LSM.rst

index 8b9ee59..31d92bc 100644 (file)
@@ -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: