OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Theo de Raadt (deraadtcvs.openbsd.org)
Date: Mon Aug 01 2005 - 01:26:17 CDT


CVSROOT: /cvs
Module name: src
Changes by: deraadtcvs.openbsd.org 2005/08/01 00:26:16

Modified files:
        sys/kern : sys_generic.c

Log message:
sys_select() used to use 6 local fd_set's in case the width was <= the
size of an fd_set (ie. 256 bits), to avoid the malloc. that is a lot
of local storage. change the cross-over point to 32-bits, which is more
fair. if you select with large widths, you pay the price. tested by
dlg, read by millert and pascoe, run on all machines