Subject: Re: setjmp/sigsetjmp/longjmp/siglongjmp errors on many ports?
To: None <tech-userlevel@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-userlevel
Date: 11/27/1999 17:52:28
In article <v63dtsuw7q.fsf@kechara.flame.org>,
Michael Graff <explorer@flame.org> wrote:
>
>On the i386, the set/longjmp() functions use sigblock() and
>sigsetmask() to store the signal state.  These use an int, not the
>now-longer sigset_t, which means signals > 31 won't properly be saved
>or restored.
>
>On the alpha, once again setjmp() and friends call sigblock,
>__sigaltstack14(), and the like to save state.  It uses sigreturn() to
>return to the setjmp() point, however.
>
>Does this seem slightly wrong, or am I confused?

You must be confused... the __***14 are the ones used.

christos