[tor-bugs] #20283 [Applications/Tor Browser]: Tor Browser should run without a `/proc` filesystem.
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Apr 6 23:48:03 UTC 2018
#20283: Tor Browser should run without a `/proc` filesystem.
--------------------------------------+---------------------------
Reporter: yawning | Owner: pospeselr
Type: defect | Status: assigned
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-sandboxing | Actual Points:
Parent ID: #20773 | Points:
Reviewer: | Sponsor:
--------------------------------------+---------------------------
Comment (by pospeselr):
As mentioned by cypherpunks, the issue here only occurs on the main thread
which you can verify with a little spelunking through the glibc source.
The relevant query APIs work expected on non-main threads since pthreads
populates the required info in memory.
Verifying a patch now on TreeHerder that fixes this issue by reading the
__libc_stack_end symbol (glibc sets this void* to the first stack frame
during program init). Solution suggested by mozilla's jld, and the folks
in #jsapi (those paying attention at least) didn't seem offended at the
idea of doing so for the main thread.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20283#comment:18>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list