From: David Howells Date: Fri, 11 Jun 2010 16:31:10 +0000 (+0100) Subject: KEYS: Make /proc/keys check to see if a key is possessed before security check X-Git-Tag: v2.6.36-rc1~584^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=927942aabbbe506bf9bc70a16dc5460ecc64c148;p=pandora-kernel.git KEYS: Make /proc/keys check to see if a key is possessed before security check Make /proc/keys check to see if the calling process possesses each key before performing the security check. The possession check can be skipped if the key doesn't have the possessor-view permission bit set. This causes the keys a process possesses to show up in /proc/keys, even if they don't have matching user/group/other view permissions. Signed-off-by: David Howells Signed-off-by: James Morris --- Reading git-diff-tree failed