diff options
author | 1997-12-28 21:54:24 +0000 | |
---|---|---|
committer | 1997-12-28 21:54:24 +0000 | |
commit | 51339f2f0e1bdf01c85f18d421a885667f27b11c (patch) | |
tree | 9960c1408e9f80c878613aa39626c083e1e461d2 /sys/kern/subr_prf.c | |
parent | I should be more careful about what I check in. Undo earlier commenting-out (diff) | |
download | wireguard-openbsd-51339f2f0e1bdf01c85f18d421a885667f27b11c.tar.xz wireguard-openbsd-51339f2f0e1bdf01c85f18d421a885667f27b11c.zip |
Don't expect select() to adjust the passed time when it's
interrupted with a SIGALRM. In fact, select() sets the
passed time to zero, making the previous implementation
terminate always after 1/10th of a second !
Also, deal with someone changing the clock while we're
sleeping (and restart the whole sleep).
Dangers pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>
Diffstat (limited to 'sys/kern/subr_prf.c')
0 files changed, 0 insertions, 0 deletions