[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1571850201.5104.149.camel@linux.ibm.com>
Date: Wed, 23 Oct 2019 13:03:21 -0400
From: Mimi Zohar <zohar@...ux.ibm.com>
To: Lakshmi Ramasubramanian <nramas@...ux.microsoft.com>,
dhowells@...hat.com, casey@...aufler-ca.com, sashal@...nel.org,
jamorris@...ux.microsoft.com,
linux-security-module@...r.kernel.org,
linux-integrity@...r.kernel.org, linux-kernel@...r.kernel.org,
keyrings@...r.kernel.org
Subject: Re: [PATCH v1 3/6] KEYS: ima hook to measure builtin_trusted_keys
On Wed, 2019-10-23 at 07:49 -0700, Lakshmi Ramasubramanian wrote:
> On 10/23/19 6:22 AM, Mimi Zohar wrote:
>
> Thanks for reviewing the changes Mimi.
> I'll address your comments and post an updated patch set shortly.
>
> >> Add a new ima hook to measure keys added to builtin_trusted_keys
> >> keyring.
> >
> > There is no IMA hook in this patch.
> >
>
> >> + else if (strcmp(args[0].from,
> >> + "BUILTIN_TRUSTED_KEYS") == 0)
> >> + entry->func = BUILTIN_TRUSTED_KEYS;
> >> else
> >> result = -EINVAL;
> >> if (!result)
> >
> > Any new options need to be displayed as well.
>
> Not that I can think of. Please correct me if I am wrong.
True, since you're hard coding the policy.
Powered by blists - more mailing lists