keys: Garbage collect keys for which the domain has been removed
authorDavid Howells <dhowells@redhat.com>
Wed, 26 Jun 2019 20:02:32 +0000 (21:02 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 26 Jun 2019 20:02:32 +0000 (21:02 +0100)
commit218e6424e711ceee31eeba93212fed8ee92d6a11
tree62358ec392304d17294f73779a1a13591468de7b
parent3b6e4de05e9ee2e2f94e4a3fe14d945e2418d9a8
keys: Garbage collect keys for which the domain has been removed

If a key operation domain (such as a network namespace) has been removed
then attempt to garbage collect all the keys that use it.

Signed-off-by: David Howells <dhowells@redhat.com>
include/linux/key.h
security/keys/internal.h
security/keys/keyring.c