From: Paul Moore Date: Wed, 1 Apr 2009 19:47:27 +0000 (-0400) Subject: audit: Fix possible return value truncation in audit_get_context() X-Git-Tag: v2.6.30-rc1~196^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d208da89aabee8502debe842832ca0ab298d16d;p=pandora-kernel.git audit: Fix possible return value truncation in audit_get_context() The audit subsystem treats syscall return codes as type long, unfortunately the audit_get_context() function mistakenly converts the return code to an int type in the parameters which could cause problems on systems where the sizeof(int) != sizeof(long). Signed-off-by: Paul Moore Signed-off-by: Al Viro --- Reading git-diff-tree failed