From: Eric W. Biederman Date: Tue, 11 Sep 2012 05:39:43 +0000 (-0700) Subject: userns: Convert the audit loginuid to be a kuid X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~49^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1760bd5ffae8cb98cffb030ee8e631eba28f3d8;p=pandora-kernel.git userns: Convert the audit loginuid to be a kuid Always store audit loginuids in type kuid_t. Print loginuids by converting them into uids in the appropriate user namespace, and then printing the resulting uid. Modify audit_get_loginuid to return a kuid_t. Modify audit_set_loginuid to take a kuid_t. Modify /proc//loginuid on read to convert the loginuid into the user namespace of the opener of the file. Modify /proc//loginud on write to convert the loginuid rom the user namespace of the opener of the file. Cc: Al Viro Cc: Eric Paris Cc: Paul Moore ? Cc: David Miller Signed-off-by: Eric W. Biederman --- Reading git-diff-tree failed