[PATCH] KEYS: request_key: enforce keyring restrictions on constructed keys

Jarkko Sakkinen jarkko at kernel.org
Sat Oct 31 07:58:47 UTC 2026


On Sat, Oct 31, 2026 at 09:56:03AM +0200, Jarkko Sakkinen wrote:
> On Sat, Oct 31, 2026 at 09:53:54AM +0200, Jarkko Sakkinen wrote:
> > On Sat, Oct 31, 2026 at 10:10:36AM +0530, Gallop Permission wrote:
> > > Hi, Jarkko
> > > 
> > > 1. you asked: What does "key becoming positive" mean here broken down?
> > >     Here key becoming positive” means the transition from
> > > KEY_IS_UNINSTANTIATED to KEY_IS_POSITIVE
> > >     after the type’s instantiate() succeeded and the payload is present.
> > 
> > Great use concrete termininology.
> 
> Please also read:
> 
> https://docs.kernel.org/process/email-clients.html
> 
> Especially quoting part. Your responses are somewhat difficult to read
> and we don't prefer top-posting.

One more thing: the short summary (subject) is incorrect as we already
do enforce restrictions.

I missed this one earlier. Just put something more appropriate, that's
all.

Br, Jarkko



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