blob: 487ad8caef2502aef0fc77c98260f3d49cab8fad (
plain) (
tree)
|
|
#include <setjmp.h>
#include <signal.h>
#include "syscall.h"
#ifdef SHARED
__attribute__((__visibility__("hidden")))
#endif
int __sigsetjmp_tail(sigjmp_buf jb, int ret)
{
void *p = jb->__ss;
__syscall(SYS_rt_sigprocmask, SIG_SETMASK, ret?p:0, ret?0:p, _NSIG/8);
return ret;
}
|