Skip to content
Commit 6d208da8 authored by Paul Moore's avatar Paul Moore Committed by Al Viro
Browse files

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: default avatarPaul Moore <paul.moore@hp.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 55ad2f8d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment