[PATCH] Audit: EINTR instead of kernel private return codes in audit records
Steve Grubb
sgrubb at redhat.com
Sun Nov 18 10:58:16 UTC 2007
On Saturday 17 November 2007 08:58:33 pm Eric Paris wrote:
> It would be absolutely wrong for the audit system to translate
> even ENOIOCTLCMD to anything else if this is what was actually returned
> to the process.
The point is, none of the errnos in that file should *ever* go to user space.
glibc has no translation (strerror()) for them because they are internal to
the kernel. So, they need to get translated to something. My only question is
would these extra ones ever get picked up in this code path?
-Steve
More information about the Linux-audit
mailing list