Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2014 11:25:32 -0400 (EDT)
From:      Benjamin Kaduk <kaduk@MIT.EDU>
To:        Keno Fischer <kfischer@college.harvard.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Use of sigreturn(2) in longjmp(3).
Message-ID:  <alpine.GSO.1.10.1405221124380.25244@multics.mit.edu>
In-Reply-To: <CAEoGj__-4A9KwqmjnOdEBfjxheJFpHV8ivo7o4n3ChcxeEq1oQ@mail.gmail.com>
References:  <CAEoGj__-4A9KwqmjnOdEBfjxheJFpHV8ivo7o4n3ChcxeEq1oQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.1.10.1405221124380.25244>