KEYS: Make /proc/keys unconditional if CONFIG_KEYS=y
authorDavid Howells <dhowells@redhat.com>
Thu, 22 Jan 2015 22:34:32 +0000 (22:34 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 22 Jan 2015 22:34:32 +0000 (22:34 +0000)
commitdabd39cc2fb1b0e97313ebbe7309ea8e05b7cfb5
tree0b3337728b5b9e607ef2b36d5c30f4267a5a343a
parent961be7ef6963806cb978ccd6acf6bf84b0c63346
KEYS: Make /proc/keys unconditional if CONFIG_KEYS=y

Now that /proc/keys is used by libkeyutils to look up a key by type and
description, we should make it unconditional and remove
CONFIG_DEBUG_PROC_KEYS.

Reported-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Jiri Kosina <jkosina@suse.cz>
Documentation/security/keys.txt
security/keys/Kconfig
security/keys/proc.c