KEYS: Implement a big key type that can save to tmpfs
authorDavid Howells <dhowells@redhat.com>
Tue, 24 Sep 2013 09:35:18 +0000 (10:35 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 24 Sep 2013 09:35:18 +0000 (10:35 +0100)
commitab3c3587f8cda9083209a61dbe3a4407d3cada10
treec479efb4b7a834ee5d3b74d81560a2214c463431
parentb2a4df200d570b2c33a57e1ebfa5896e4bc81b69
KEYS: Implement a big key type that can save to tmpfs

Implement a big key type that can save its contents to tmpfs and thus
swapspace when memory is tight.  This is useful for Kerberos ticket caches.

Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Simo Sorce <simo@redhat.com>
include/keys/big_key-type.h [new file with mode: 0644]
include/linux/key.h
security/keys/Kconfig
security/keys/Makefile
security/keys/big_key.c [new file with mode: 0644]