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