K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-09T20:59:01.623955Z K 7 svn:log V 389 kern_select(9) copies fd_set in and out of userspace in quantities of longs. Since 32bit processes longs are 4 bytes, 64bit kernel may copy in or out 4 bytes more then the process expected. Calculate the amount of bytes to copy taking into account size of fd_set for the current process ABI. Diagnosed and tested by: Peter Jeremy Reviewed by: jhb MFC after: 1 week END