From: Eric W. Biederman Date: Tue, 11 Sep 2012 07:24:49 +0000 (-0700) Subject: audit: Don't pass pid or uid to audit_log_common_recv_msg X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~49^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=860c0aaff75e714c21d325f32d36a37572b4fffb;p=pandora-kernel.git audit: Don't pass pid or uid to audit_log_common_recv_msg The only place we use the uid and the pid that we calculate in audit_receive_msg is in audit_log_common_recv_msg so move the calculation of these values into the audit_log_common_recv_msg. Simplify the calcuation of the current pid and uid by reading them from current instead of reading them from NETLINK_CREDS. Cc: Al Viro Cc: Eric Paris Signed-off-by: "Eric W. Biederman" --- Reading git-diff-tree failed