Use of sigreturn(2) in longjmp(3).

Benjamin Kaduk kaduk at MIT.EDU
Thu May 22 15:25:43 UTC 2014


On Thu, 22 May 2014, Keno Fischer wrote:

> Hello,
>
> The sigreturn manpage states:
>
> "This system call is used by the trampoline code and longjmp(3) when
> returning from a signal to the previously executing program".
>
> Now, I saw the system call in sigtramp.s, but I looked at setjmp.s can't
> find how longjmp does this. Am I missing something totally obvious?

I expect this is just stale documentation.
Unfortunately, some quick poking at the svn log for 
sys/i386/i386/support.s does not make it immediately clear when the code 
changed to not match the documentation.

-Ben Kaduk


More information about the freebsd-hackers mailing list