[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 22:24:52 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 yawning):

 Replying to [comment:16 cypherpunks]:
 > I suspect that glibc relies on /proc only for the initial thread.

 Yes.

 > it is possible that
 >
 > {{{
 > ucontext_t uc;
 > void *base;
 > size_t size;
 >
 > if (getcontext(&uc) == -1)
 >       err(1, "getcontext");
 > base = uc.uc_stack.ss_sp;
 > size = uc.uc_stack.ss_size;
 > }}}
 >
 > will recover the stack base address and size that you want.

 99% sure this does not work without /proc mounted.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20283#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list