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

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 27 03:37:05 UTC 2015


#15435: Tor should not close stdin on child processes.
---------------------------+-----------------------------------------------
     Reporter:  yawning    |      Owner:
         Type:             |     Status:  needs_review
  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:
Actual Points:             |
       Points:             |
---------------------------+-----------------------------------------------

Comment (by dcf):

 Replying to [comment:11 yawning]:
 > Anyway.  Assuming "tor will sent an env var indicating to PTs that stdin
 is valid and will never be written to" is ok behavior, shouldn't the
 various library side implementations of the handlers be discussed in
 another ticket?

 Yes, assuming it's implementable. You don't want to spec something that
 turns out to be awkward to implement.

 Removing SIGINT from pt-spec sounds good to me, that always seemed more
 trouble than it was worth. If all you have to worry about is SIGINT and
 eof, then that's probably simple enough to implement by hand.

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


More information about the tor-bugs mailing list