[PATCH 22/28] security: Introduce key_post_create_or_update hook

Mimi Zohar zohar at linux.ibm.com
Wed Mar 8 15:49:07 UTC 2023


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



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