From: Eric W. Biederman Date: Wed, 8 Feb 2012 15:53:04 +0000 (-0800) Subject: userns: Convert security/keys to the new userns infrastructure X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~49^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a56c2db49e7349c7963f0ce66c1ef578d44ebd3;p=pandora-kernel.git userns: Convert security/keys to the new userns infrastructure - Replace key_user ->user_ns equality checks with kuid_has_mapping checks. - Use from_kuid to generate key descriptions - Use kuid_t and kgid_t and the associated helpers instead of uid_t and gid_t - Avoid potential problems with file descriptor passing by displaying keys in the user namespace of the opener of key status proc files. Cc: linux-security-module@vger.kernel.org Cc: keyrings@linux-nfs.org Cc: David Howells Signed-off-by: Eric W. Biederman --- Reading git-diff-tree failed