clyde@ut-ngp.UUCP (Clyde W. Hoover) (10/19/84)
Subject: Select timeouts broken
Index: /usr/src/sys/sys/sysent.c 2.9BSD
Description:
Select calls with timeouts will return immediantly if the timeout
period is less than 65535. The low word of the timeout duration
argument to the system call (a long), is not being copied out
of user space.
Repeat-By:
This only matters if you have UCB_NET turned on.
Do a select for less than < 65535 milliseconds and watch it
return immediantly.
Fix:
(sysent.c)
< 4, 0, select /* ..... */
> 5, 0, select /* ..... */
I think this should change the behavior of the network somewhat also,
since all the net daemon timeouts will really be as long
as they are supposed to be.
--
Shouter-To-Dead-Parrots @ Univ. of Texas Computation Center; Austin, Texas
"Let's show this prehistoric bitch how we do things downtown"
clyde@ut-ngp.ARPA, clyde@ut-sally.ARPA
...!ihnp4!ut-ngp!clyde, ...!allegra!ut-ngp!clyde