[tor-bugs] #2029 [Tor Relay]: Set FD_CLOEXEC on all open file descriptors so that they are closed on exec()

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Nov 20 13:51:52 UTC 2010


#2029: Set FD_CLOEXEC on all open file descriptors so that they are closed on
exec()
-----------------------+----------------------------------------------------
 Reporter:  sjmurdoch  |       Owner:  sjmurdoch         
     Type:  defect     |      Status:  needs_review      
 Priority:  normal     |   Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay  |     Version:                    
 Keywords:             |      Parent:  #1775             
-----------------------+----------------------------------------------------

Comment(by sjmurdoch):

 Checking now, but there was a compile error on MacOS X (which appears not
 to have `O_CLOEXEC`). I have attached a patch.

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


More information about the tor-bugs mailing list