Red Hat Bugzilla – Bug 130174
audit_get_result() needs to return negative error codes on IA64 platforms
Last modified: 2007-11-30 17:07:03 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2)
Description of problem:
The audit_get_results() function needs to check the return status of
the syscall, if an error is indicated then the return code needs to be
negative. On error the current return code is positive.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Examine the return code of a failed syscall on an ia64 platform
2.The syscall will have failed, but the return code is positive
Peter, is this really a kernel bug? There is no kernel function
named audit_get_results(), so I was wondering if you meant for the
component to be assigned to "laus". I'll let you handle this one.
My bad - singular, audit_get_result() used in the drivers/audit
A fix for this problem has just been committed to the RHEL3 U4
patch pool this evening (in kernel version 2.4.21-20.6.EL).
An errata has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.