summaryrefslogtreecommitdiffstats
path: root/kernel/audit_tree.c
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2009-04-01 15:47:27 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2009-04-05 13:46:19 -0400
commit6d208da89aabee8502debe842832ca0ab298d16d (patch)
tree3ed68e7cab94ac7887dcd1d03f1b1fd9a927a001 /kernel/audit_tree.c
parent55ad2f8d340678397de5916b9cd960f17ebd7150 (diff)
downloadkernel-crypto-6d208da89aabee8502debe842832ca0ab298d16d.tar.gz
kernel-crypto-6d208da89aabee8502debe842832ca0ab298d16d.tar.xz
kernel-crypto-6d208da89aabee8502debe842832ca0ab298d16d.zip
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 <paul.moore@hp.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/audit_tree.c')
0 files changed, 0 insertions, 0 deletions