https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229381

Alan Somers <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected]            |[email protected]
             Status|New                         |In Progress
          Component|kern                        |bin

--- Comment #2 from Alan Somers <[email protected]> ---
I figured it out.  The signal handler code is helpfully restarting the syscall
for me.  read(2) is actually returning to userland, but not to the stack from
whence I called it.  I need to use sigaction without SA_RESTART or siginterrupt
to fix it.  As is, auditd is using plain signal(), which automatically includes
SA_RESTART.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to