Module Name: src Committed By: christos Date: Wed May 18 14:48:04 UTC 2011
Modified Files: src/sys/kern: sys_select.c Log Message: No need to mask twice. The setup function does it. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/kern/sys_select.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/sys_select.c diff -u src/sys/kern/sys_select.c:1.31 src/sys/kern/sys_select.c:1.32 --- src/sys/kern/sys_select.c:1.31 Tue May 17 23:51:41 2011 +++ src/sys/kern/sys_select.c Wed May 18 10:48:04 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: sys_select.c,v 1.31 2011/05/18 03:51:41 christos Exp $ */ +/* $NetBSD: sys_select.c,v 1.32 2011/05/18 14:48:04 christos Exp $ */ /*- * Copyright (c) 2007, 2008, 2009, 2010 The NetBSD Foundation, Inc. @@ -84,7 +84,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sys_select.c,v 1.31 2011/05/18 03:51:41 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sys_select.c,v 1.32 2011/05/18 14:48:04 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -229,10 +229,8 @@ return EINVAL; } - if (__predict_false(mask)) { - sigminusset(&sigcantmask, mask); + if (__predict_false(mask)) sigsuspendsetup(l, mask); - } sc = curcpu()->ci_data.cpu_selcluster; lock = sc->sc_lock;