Konstantin Belousov b55ef216fe 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 <peterjeremy acm org>
Reviewed by:	jhb
MFC after:	1 week
2009-09-09 20:59:01 +00:00
..
2009-09-09 05:53:26 +00:00
2009-09-08 17:20:17 +00:00
2009-06-25 16:48:13 +00:00
2009-09-09 03:36:43 +00:00
2009-09-09 10:05:50 +00:00
2009-09-08 17:23:32 +00:00