]> Pileus Git - ~andy/linux/commit
KEYS: Consolidate the concept of an 'index key' for key access
authorDavid Howells <dhowells@redhat.com>
Tue, 24 Sep 2013 09:35:15 +0000 (10:35 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 24 Sep 2013 09:35:15 +0000 (10:35 +0100)
commit16feef4340172b7dbb9cba60850e78fa6388adf1
tree192d76bb3ba75b99c4a4746e2d47996b92b46e39
parent7e55ca6dcd07b45619035df343c9614a3ab35034
KEYS: Consolidate the concept of an 'index key' for key access

Consolidate the concept of an 'index key' for accessing keys.  The index key
is the search term needed to find a key directly - basically the key type and
the key description.  We can add to that the description length.

This will be useful when turning a keyring into an associative array rather
than just a pointer block.

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