[tor-bugs] #15435 [Tor]: Tor should not close stdin on child processes.

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Apr 5 23:29:06 UTC 2015


#15435: Tor should not close stdin on child processes.
---------------------------+-----------------------------------------------
     Reporter:  yawning    |      Owner:
         Type:             |     Status:  closed
  enhancement              |  Milestone:  Tor: 0.2.7.x-final
     Priority:  normal     |    Version:  Tor: unspecified
    Component:  Tor        |   Keywords:  tor-pt, needs-spec-patch pt-wants
   Resolution:             |  Parent ID:
  implemented              |
Actual Points:             |
       Points:             |
---------------------------+-----------------------------------------------

Comment (by dcf):

 So what I'm going to do is make terminateprocess-buffer set
 TOR_PT_EXIT_ON_STDIN_CLOSE=1, and modify meek-client-torbrowser to obey
 that environment variable instead of having a special --exit-on-stdin-eof
 flag. So you can think of terminateprocess-buffer as now being just a
 compatibility shim that simulates support for TOR_PT_EXIT_ON_STDIN_CLOSE
 for versions of tor that don't have it. We can get rid of
 terminateprocess-buffer once a tor with TOR_PT_EXIT_ON_STDIN_CLOSE lands
 in Tor Browser.

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


More information about the tor-bugs mailing list