[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090804223301.GA16794@us.ibm.com>
Date: Tue, 4 Aug 2009 17:33:01 -0500
From: "Serge E. Hallyn" <serue@...ibm.com>
To: David Howells <dhowells@...hat.com>
Cc: torvalds@...l.org, akpm@...ux-foundation.org, jmorris@...ei.org,
linux-kernel@...r.kernel.org, linux-security-module@...r.kernel.org
Subject: Re: [PATCH 4/6] KEYS: Add garbage collection for dead, revoked and
expired keys.
Quoting David Howells (dhowells@...hat.com):
> Serge E. Hallyn <serue@...ibm.com> wrote:
>
> > This won't require keyring->sem?
>
> Why should it? A keyring merely points at a key, and if you follow this line
> of argument, then every keyring pointing at a key would have to be locked.
I see - so I could have the same dead key in 2 keyrings, recreate it in the
one ring, and it will be reactivated in both keyrings?
Ok, then that check (my original comment) is in fact needed :)
Thanks for indulging me.
-serge
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists