From: Eric W. Biederman Date: Tue, 19 Mar 2013 07:02:25 +0000 (-0700) Subject: audit: Simplify and correct audit_log_capset X-Git-Tag: v3.14-rc1~118^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca24a23ebca17d9d0f2afde4ee49cd810bccc8d7;p=pandora-kernel.git audit: Simplify and correct audit_log_capset - Always report the current process as capset now always only works on the current process. This prevents reporting 0 or a random pid in a random pid namespace. - Don't bother to pass the pid as is available. Signed-off-by: "Eric W. Biederman" (cherry picked from commit bcc85f0af31af123e32858069eb2ad8f39f90e67) (cherry picked from commit f911cac4556a7a23e0b3ea850233d13b32328692) Signed-off-by: Richard Guy Briggs [eparis: fix build error when audit disabled] Signed-off-by: Eric Paris --- Reading git-diff-tree failed