sigpending1: don't subtract the sigmask (!!).

This commit is contained in:
ad 2008-06-25 11:04:24 +00:00
parent e5ee834164
commit d23ae8da8d
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sys_sig.c,v 1.15 2008/04/28 20:24:05 martin Exp $ */
/* $NetBSD: sys_sig.c,v 1.16 2008/06/25 11:04:24 ad Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sys_sig.c,v 1.15 2008/04/28 20:24:05 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: sys_sig.c,v 1.16 2008/06/25 11:04:24 ad Exp $");
#include "opt_ptrace.h"
#include "opt_compat_netbsd.h"
@ -534,7 +534,6 @@ sigpending1(struct lwp *l, sigset_t *ss)
mutex_enter(p->p_lock);
*ss = l->l_sigpend.sp_set;
sigplusset(&p->p_sigpend.sp_set, ss);
sigminusset(&l->l_sigmask, ss);
mutex_exit(p->p_lock);
}