From: Eric W. Biederman Date: Fri, 25 May 2012 21:50:59 +0000 (-0600) Subject: userns: Convert xt_LOG to print socket kuids and kgids as uids and gids X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~49^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c6e2a941ae74d850a7bf0e5b3f4cd567e0f27dc;p=pandora-kernel.git userns: Convert xt_LOG to print socket kuids and kgids as uids and gids xt_LOG always writes messages via sb_add via printk. Therefore when xt_LOG logs the uid and gid of a socket a packet came from the values should be converted to be in the initial user namespace. Thus making xt_LOG as user namespace safe as possible. Cc: Pablo Neira Ayuso Cc: Patrick McHardy Acked-by: David S. Miller Acked-by: Serge Hallyn Signed-off-by: Eric W. Biederman --- Reading git-diff-tree failed