26c26
< * $FreeBSD: head/lib/librt/sigev_thread.c 156384 2006-03-07 08:42:02Z davidxu $
---
> * $FreeBSD: head/lib/librt/sigev_thread.c 156529 2006-03-10 08:01:23Z davidxu $
308c308
< sigset_t set;
---
> sigset_t set, oset;
329,332c329,335
< sigemptyset(&set);
< sigaddset(&set, SIGSERVICE);
<
< _sigprocmask(SIG_BLOCK, &set, NULL);
---
> sigfillset(&set); /* SIGSERVICE is masked. */
> sigdelset(&set, SIGBUS);
> sigdelset(&set, SIGILL);
> sigdelset(&set, SIGFPE);
> sigdelset(&set, SIGSEGV);
> sigdelset(&set, SIGTRAP);
> _sigprocmask(SIG_SETMASK, &set, &oset);
335c338
< _sigprocmask(SIG_UNBLOCK, &set, NULL);
---
> _sigprocmask(SIG_SETMASK, &oset, NULL);
< * $FreeBSD: head/lib/librt/sigev_thread.c 156384 2006-03-07 08:42:02Z davidxu $
---
> * $FreeBSD: head/lib/librt/sigev_thread.c 156529 2006-03-10 08:01:23Z davidxu $
308c308
< sigset_t set;
---
> sigset_t set, oset;
329,332c329,335
< sigemptyset(&set);
< sigaddset(&set, SIGSERVICE);
<
< _sigprocmask(SIG_BLOCK, &set, NULL);
---
> sigfillset(&set); /* SIGSERVICE is masked. */
> sigdelset(&set, SIGBUS);
> sigdelset(&set, SIGILL);
> sigdelset(&set, SIGFPE);
> sigdelset(&set, SIGSEGV);
> sigdelset(&set, SIGTRAP);
> _sigprocmask(SIG_SETMASK, &set, &oset);
335c338
< _sigprocmask(SIG_UNBLOCK, &set, NULL);
---
> _sigprocmask(SIG_SETMASK, &oset, NULL);