kernel_optimize_test/security/keys
David Howells f041ae2f99 KEYS: Flag dead keys to induce EKEYREVOKED [try #6]
Set the KEY_FLAG_DEAD flag on keys for which the type has been removed.  This
causes the key_permission() function to return EKEYREVOKED in response to
various commands.  It does not, however, prevent unlinking or clearing of
keyrings from detaching the key.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
2009-09-02 21:29:09 +10:00
..
compat.c keys: add keyctl function to get a security label 2008-04-29 08:06:16 -07:00
internal.h KEYS: Deal with dead-type keys appropriately [try #6] 2009-09-02 21:29:04 +10:00
key.c KEYS: Flag dead keys to induce EKEYREVOKED [try #6] 2009-09-02 21:29:09 +10:00
keyctl.c KEYS: Allow keyctl_revoke() on keys that have SETATTR but not WRITE perm [try #6] 2009-09-02 21:29:06 +10:00
keyring.c keys: skip keys from another user namespace 2009-02-27 12:35:12 +11:00
Makefile keys: make the keyring quotas controllable through /proc/sys 2008-04-29 08:06:17 -07:00
permission.c keys: consider user namespace in key_permission 2009-02-27 12:35:09 +11:00
proc.c keys: annotate seqfile ops with __releases and __acquires 2009-06-25 00:09:12 +10:00
process_keys.c KEYS: Deal with dead-type keys appropriately [try #6] 2009-09-02 21:29:04 +10:00
request_key_auth.c CRED: Inaugurate COW credentials 2008-11-14 10:39:23 +11:00
request_key.c keys: Handle there being no fallback destination keyring for request_key() 2009-04-09 10:41:19 -07:00
sysctl.c keys: make the keyring quotas controllable through /proc/sys 2008-04-29 08:06:17 -07:00
user_defined.c