KEYS: Add an alloc flag to convey the builtinness of a key
authorDavid Howells <dhowells@redhat.com>
Tue, 9 Feb 2016 16:40:46 +0000 (16:40 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 9 Feb 2016 16:40:46 +0000 (16:40 +0000)
commit5d2787cf0b210d2925e8d44e2e79241385249d6b
tree2012c87cf103d8d33ae55f3db822fc380e0280b7
parent411a6f585c0f7695942497ae1a0f3f313cefc6e0
KEYS: Add an alloc flag to convey the builtinness of a key

Add KEY_ALLOC_BUILT_IN to convey that a key should have KEY_FLAG_BUILTIN
set rather than setting it after the fact.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
certs/system_keyring.c
include/linux/key.h
security/keys/key.c