summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prf.c
diff options
context:
space:
mode:
authorbrian <brian@openbsd.org>1997-12-28 21:54:24 +0000
committerbrian <brian@openbsd.org>1997-12-28 21:54:24 +0000
commit51339f2f0e1bdf01c85f18d421a885667f27b11c (patch)
tree9960c1408e9f80c878613aa39626c083e1e461d2 /sys/kern/subr_prf.c
parentI should be more careful about what I check in. Undo earlier commenting-out (diff)
downloadwireguard-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