Re: [PATCH 22/28] security: Introduce key_post_create_or_update hook
From: Mimi Zohar
Date: Wed Mar 08 2023 - 10:50:11 EST
On Fri, 2023-03-03 at 19:18 +0100, Roberto Sassu wrote:
> diff --git a/security/security.c b/security/security.c
> index b3a9c317f75..322090a50cd 100644
> --- a/security/security.c
> +++ b/security/security.c
> @@ -5195,6 +5195,25 @@ int security_key_getsecurity(struct key *key, char **_buffer)
> *_buffer = NULL;
> return call_int_hook(key_getsecurity, 0, key, _buffer);
> }
> +
> +/**
> + * security_key_post_create_or_update() - Tell caller of key creation or update
^Notification of key create or update
--
thanks,
Mimi