From: Eric W. Biederman Date: Wed, 8 Feb 2012 00:53:48 +0000 (-0800) Subject: userns: Convert audit to work with user namespaces enabled X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~49^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cca080d9b622094831672a136e5ee4f702d116b1;p=pandora-kernel.git userns: Convert audit to work with user namespaces enabled - Explicitly format uids gids in audit messges in the initial user namespace. This is safe because auditd is restrected to be in the initial user namespace. - Convert audit_sig_uid into a kuid_t. - Enable building the audit code and user namespaces at the same time. The net result is that the audit subsystem now uses kuid_t and kgid_t whenever possible making it almost impossible to confuse a raw uid_t with a kuid_t preventing bugs. Cc: Al Viro Cc: Eric Paris Cc: Greg Kroah-Hartman Signed-off-by: Eric W. Biederman --- Reading git-diff-tree failed