From: Eric W. Biederman Date: Wed, 8 Feb 2012 00:54:50 +0000 (-0800) Subject: userns: Convert bsd process accounting to use kuid and kgid where appropriate X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~49^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8f3d4de2d04e1a5b4293b67faee8ebabc64e9fa;p=pandora-kernel.git userns: Convert bsd process accounting to use kuid and kgid where appropriate BSD process accounting conveniently passes the file the accounting records will be written into to do_acct_process. The file credentials captured the user namespace of the opener of the file. Use the file credentials to format the uid and the gid of the current process into the user namespace of the user that started the bsd process accounting. Cc: Pavel Emelyanov Reviewed-by: Serge Hallyn Signed-off-by: Eric W. Biederman --- Reading git-diff-tree failed