[tor-bugs] #28096 [Core Tor/Tor]: Windows 8.1 and 10 relays claim to be Windows 8
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Nov 9 13:00:42 UTC 2018
#28096: Windows 8.1 and 10 relays claim to be Windows 8
-------------------------------------------------+-------------------------
Reporter: teor | Owner: teor
Type: defect | Status:
| needs_review
Priority: Medium | Milestone: Tor:
| 0.4.0.x-final
Component: Core Tor/Tor | Version: Tor:
| 0.2.2.34
Severity: Normal | Resolution:
Keywords: windows, fast-fix, 029-backport, | Actual Points: 0.2
033-backport, 034-backport, 035-backport |
Parent ID: | Points: 0.2
Reviewer: asn | Sponsor:
-------------------------------------------------+-------------------------
Comment (by nickm):
Replying to [comment:13 teor]:
> Replying to [comment:12 asn]:
> > LGTM but what to do about the `TODO: only print this in the main
process on Windows,`?
>
> nickm will help some time this week.
Okay, here's a possibility. On Windows, when tinytest relaunches itself
as a subprocess, it passes itself the --RUNNING-FORKED option. You could
check for the presence of that option in argv, and use it to decide
whether to log the version.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28096#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list