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 09:50:31 +00:00
2009-09-08 20:45:40 +00:00
2009-08-17 15:19:03 +00:00
2009-07-17 14:02:20 +00:00
2009-09-08 16:09:28 +00:00
2009-09-08 16:40:08 +00:00
2009-09-09 20:59:01 +00:00
2009-09-09 09:50:31 +00:00
2009-09-09 05:53:26 +00:00
2009-05-27 09:52:12 +00:00
2009-08-01 19:26:27 +00:00
2009-09-09 18:55:18 +00:00
2009-09-09 20:37:49 +00:00
2009-09-08 17:20:17 +00:00
2009-06-25 16:48:13 +00:00
2009-09-09 19:40:54 +00:00
2009-09-08 20:45:40 +00:00
2009-08-24 21:51:46 +00:00
2009-09-09 20:59:01 +00:00
2009-06-14 17:33:46 +00:00
2009-06-22 22:09:18 +00:00
2009-09-08 20:45:40 +00:00
2009-09-09 09:50:31 +00:00
2009-09-09 03:36:43 +00:00
2009-09-08 13:19:05 +00:00
2009-08-12 10:44:13 +00:00
2009-08-23 20:40:19 +00:00
2009-09-08 21:17:17 +00:00
2009-09-05 20:24:37 +00:00
2009-09-06 19:05:03 +00:00
2009-06-24 20:57:50 +00:00
2009-06-01 10:41:38 +00:00
2009-06-01 21:17:03 +00:00
2009-07-12 03:53:52 +00:00
2009-09-09 20:37:49 +00:00
2009-09-09 13:23:26 +00:00
2009-06-17 22:50:26 +00:00
2009-09-04 09:48:18 +00:00
2009-09-09 10:05:50 +00:00
2009-08-24 18:58:13 +00:00
2009-09-08 20:45:40 +00:00
2009-08-24 10:09:30 +00:00
2009-09-08 13:24:36 +00:00
2009-09-08 20:45:40 +00:00
2009-09-08 20:45:40 +00:00
2009-09-09 20:59:01 +00:00
2009-09-03 16:31:11 +00:00
2009-07-05 18:15:06 +00:00
2009-09-08 17:23:32 +00:00
2009-09-01 11:41:51 +00:00
2009-08-12 16:27:51 +00:00
2009-08-20 19:17:53 +00:00
2009-05-22 12:35:12 +00:00