Re: [PATCH v1 6/6] KEYS: measure keys when they are created or updated

2019-10-23 Thread Mimi Zohar
On Tue, 2019-10-22 at 17:18 -0700, Lakshmi Ramasubramanian wrote: > diff --git a/security/security.c b/security/security.c > index 250ee2d76406..707a9e7fa94d 100644 > --- a/security/security.c > +++ b/security/security.c > @@ -2303,6 +2303,16 @@ int security_key_getsecurity(struct key *key, char >

[PATCH v1 6/6] KEYS: measure keys when they are created or updated

2019-10-22 Thread Lakshmi Ramasubramanian
A new LSM function namely, security_key_create_or_update, has been added. This function is called by key_create_or_update function when a new key is created or an existing key is updated. This call is made when the key has been instantiated and linked to the target keyring. security_key_create_or_