[PATCH 2/2] lost_reset: return value rather than sequence number when zero
Steve Grubb
sgrubb at redhat.com
Mon Nov 27 22:16:53 UTC 2017
On Wednesday, November 22, 2017 7:00:57 PM EST Richard Guy Briggs wrote:
> The kernel always returns negative values on error, so zero and anything
> positive is valid success. Lost_reset returned a positive value at the
> time of reset, including zero that got interpreted as success and
> replaced with the packet sequence number "2".
>
> Rename audit_send() to __audit_send() and pass the sequence number back
> via a parameter rather than return value.
>
> Have a new stub audit_send() call __audit_send() and mimic the previous
> behaviour of audit_send()
Applied,
Thanks,
-Steve
More information about the Linux-audit
mailing list