Searched hist:197049 (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/sys/sys/
H A Dsyscallsubr.hdiff 197049 Wed Sep 09 19:09:24 MDT 2009 kib 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
/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32_misc.cdiff 197049 Wed Sep 09 19:09:24 MDT 2009 kib 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
/freebsd-11-stable/sys/kern/
H A Dsys_generic.cdiff 197049 Wed Sep 09 19:09:24 MDT 2009 kib 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

Completed in 229 milliseconds