[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #18025 [Tor]: test_util_touch_file is racy and *does* fail
#18025: test_util_touch_file is racy and *does* fail
--------------------+------------------------------------
Reporter: weasel | Owner: nickm
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor: 0.2.8.x-final
Component: Tor | Version: Tor: 0.2.7.6
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Sponsor: |
--------------------+------------------------------------
Comment (by weasel):
{{{
<bwh> see
https://sources.debian.net/src/linux/4.3.3-5/kernel/time/time.c/#L240
<bwh> and that seems to end up reading cached time
<bwh> whereas gettimeofday() goes here:
https://sources.debian.net/src/linux/4.3.3-5/arch/x86/entry/vdso/vclock_gettime.c/#L218
<bwh> and indeed can use the TSC or HPET to get high-res time
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18025#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs