]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] keys: restrict contents of /proc/keys to Viewable keys
authorMichael LeMay <mdlemay@epoch.ncsc.mil>
Mon, 26 Jun 2006 07:24:56 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:18 +0000 (09:58 -0700)
commitdf50ecf0f5637b0eda9ebc07bff378c946b283c3
treeb83cdbc8405e0a174939d36e4fe40fb8adb51071
parentbdfaf5e8ebade6edc7524fb32383cee712015f8e
[PATCH] keys: restrict contents of /proc/keys to Viewable keys

Restrict /proc/keys such that only those keys to which the current task is
granted View permission are presented.

The documentation is also updated to reflect these changes.

Signed-off-by: Michael LeMay <mdlemay@epoch.ncsc.mil>
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/keys.txt
security/Kconfig
security/keys/proc.c