[RFC PATCH 14/29] lsm: add missing function header comment blocks in lsm_init.c
John Johansen
john.johansen at canonical.com
Wed May 14 10:10:56 UTC 2025
On 4/9/25 11:49, Paul Moore wrote:
> Signed-off-by: Paul Moore <paul at paul-moore.com>
Reviewed-by: John Johansen <john.johansen at canonical.com>
> ---
> security/lsm_init.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/security/lsm_init.c b/security/lsm_init.c
> index 55b3fa82db76..04b1f5e760b1 100644
> --- a/security/lsm_init.c
> +++ b/security/lsm_init.c
> @@ -313,6 +313,10 @@ static void __init lsm_init_single(struct lsm_info *lsm)
> WARN(ret, "%s failed to initialize: %d\n", lsm->id->name, ret);
> }
>
> +/**
> + * lsm_static_call_init - Initialize a LSM's static calls
> + * @hl: LSM hook list
> + */
> static void __init lsm_static_call_init(struct security_hook_list *hl)
> {
> struct lsm_static_call *scall = hl->scalls;
> @@ -351,6 +355,9 @@ void __init security_add_hooks(struct security_hook_list *hooks, int count,
> }
> }
>
> +/**
> + * early_security_init - Initialize the early LSMs
> + */
> int __init early_security_init(void)
> {
> struct lsm_info *lsm;
More information about the Linux-security-module-archive
mailing list