KEYS: Deal with dead-type keys appropriately [try #6]
authorDavid Howells <dhowells@redhat.com>
Wed, 2 Sep 2009 08:13:45 +0000 (09:13 +0100)
committerJames Morris <jmorris@namei.org>
Wed, 2 Sep 2009 11:29:04 +0000 (21:29 +1000)
commit5593122eec26b061cc0b6fbff32118f1aadf4a27
treef148b182ada54b722962607567bd5b1ace06640a
parente0e817392b9acf2c98d3be80c233dddb1b52003d
KEYS: Deal with dead-type keys appropriately [try #6]

Allow keys for which the key type has been removed to be unlinked.  Currently
dead-type keys can only be disposed of by completely clearing the keyrings
that point to them.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/keys/internal.h
security/keys/key.c
security/keys/keyctl.c
security/keys/process_keys.c