[PATCH] Documentation/landlock: Make docs in cred.h and domain.h visible.

Mickaël Salaün mic at digikod.net
Wed Nov 12 17:04:29 UTC 2025


On Mon, Sep 29, 2025 at 12:49:49AM +0100, Tingmao Wang wrote:
> Currently even though the structures in these files have documentation,
> they are not shown in the "Landlock LSM: kernel documentation" page.
> 
> Signed-off-by: Tingmao Wang <m at maowtm.org>

Thanks! I'll merge this patch in -next.


> ---
>  Documentation/security/landlock.rst | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/Documentation/security/landlock.rst b/Documentation/security/landlock.rst
> index e0fc54aff09e..5066f8c3091e 100644
> --- a/Documentation/security/landlock.rst
> +++ b/Documentation/security/landlock.rst
> @@ -110,6 +110,12 @@ Filesystem
>  .. kernel-doc:: security/landlock/fs.h
>      :identifiers:
>  
> +Process credential
> +------------------
> +
> +.. kernel-doc:: security/landlock/cred.h
> +    :identifiers:
> +
>  Ruleset and domain
>  ------------------
>  
> @@ -128,6 +134,9 @@ makes the reasoning much easier and helps avoid pitfalls.
>  .. kernel-doc:: security/landlock/ruleset.h
>      :identifiers:
>  
> +.. kernel-doc:: security/landlock/domain.h
> +    :identifiers:
> +
>  Additional documentation
>  ========================
>  
> 
> base-commit: f83ec76bf285bea5727f478a68b894f5543ca76e
> -- 
> 2.51.0
> 
> 



More information about the Linux-security-module-archive mailing list