android_kernel_xiaomi_sm8350/security/keys
David Howells b9fffa3877 KEYS: Add a key type op to permit the key description to be vetted
Add a key type operation to permit the key type to vet the description of a new
key that key_alloc() is about to allocate.  The operation may reject the
description if it wishes with an error of its choosing.  If it does this, the
key will not be allocated.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
2011-03-08 11:17:15 +11:00
..
compat.c KEYS: Fix up comments in key management code 2011-01-21 14:59:30 -08:00
encrypted.c KEYS: Add an RCU payload dereference macro 2011-03-08 11:17:11 +11:00
encrypted.h encrypted-keys: rename encrypted_defined files to encrypted 2011-01-24 10:27:57 +11:00
gc.c KEYS: Fix up comments in key management code 2011-01-21 14:59:30 -08:00
internal.h KEYS: Fix __key_link_end() quota fixup on error 2011-01-26 08:58:20 +10:00
key.c KEYS: Add a key type op to permit the key description to be vetted 2011-03-08 11:17:15 +11:00
keyctl.c KEYS: Fix up comments in key management code 2011-01-21 14:59:30 -08:00
keyring.c KEYS: Fix __key_link_end() quota fixup on error 2011-01-26 08:58:20 +10:00
Makefile encrypted-keys: rename encrypted_defined files to encrypted 2011-01-24 10:27:57 +11:00
permission.c KEYS: Fix up comments in key management code 2011-01-21 14:59:30 -08:00
proc.c KEYS: Fix up comments in key management code 2011-01-21 14:59:30 -08:00
process_keys.c KEYS: Fix up comments in key management code 2011-01-21 14:59:30 -08:00
request_key_auth.c KEYS: Fix up comments in key management code 2011-01-21 14:59:30 -08:00
request_key.c KEYS: Fix __key_link_end() quota fixup on error 2011-01-26 08:58:20 +10:00
sysctl.c sysctl: Drop & in front of every proc_handler. 2009-11-18 08:37:40 -08:00
trusted.c KEYS: Add an RCU payload dereference macro 2011-03-08 11:17:11 +11:00
trusted.h trusted-keys: rename trusted_defined files to trusted 2011-01-24 10:14:22 +11:00
user_defined.c KEYS: Add an RCU payload dereference macro 2011-03-08 11:17:11 +11:00