[tor-bugs] #16515 [Tor]: tor_open_cloexec only uses the sandbox when O_CLOEXEC is defined

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 9 13:57:56 UTC 2015


#16515: tor_open_cloexec only uses the sandbox when O_CLOEXEC is defined
------------------------+--------------------------------
     Reporter:  teor    |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  normal  |  Milestone:
    Component:  Tor     |    Version:  Tor: 0.2.3.1-alpha
   Resolution:          |   Keywords:  backport
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by nickm):

 I don't think there are any such systems that have seccomp2 (added around
 Linux 3.5) but lack O_CLOEXEC (added in 2.6.23).  Still, I think the patch
 makes the code cleaner, so it's worth taking in master.

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


More information about the tor-bugs mailing list