]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] keys: discard the contents of a key on revocation
authorDavid Howells <dhowells@redhat.com>
Mon, 26 Jun 2006 07:24:51 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:18 +0000 (09:58 -0700)
commit1a83a7153aa7b6db37d8c026d42cce79257040dc
treea5c3e5101e9f79bf39672f02c0eea573e7a47cb8
parent2181a02bd1b25e25db077110a1964af2b894133e
[PATCH] keys: discard the contents of a key on revocation

Cause the keys linked to a keyring to be unlinked from it when revoked and it
causes the data attached to a user-defined key to be discarded when revoked.

This frees up most of the quota a key occupied at that point, rather than
waiting for the key to actually be destroyed.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/keys/user-type.h
security/keys/keyring.c
security/keys/user_defined.c