[tor-bugs] #5129 [Tor Relay]: Avoid fcntl(O_NONBLOCK) calls on Linux
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Tue Feb 14 15:39:14 UTC 2012
#5129: Avoid fcntl(O_NONBLOCK) calls on Linux
-----------------------+----------------------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: minor | Milestone: Tor: 0.2.4.x-final
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
We already use the SOCK_CLOEXEC extesion to
socket/accept4/open/socketpair on Linux so that we can create a socket/fd
and make it close-on-exec in a single syscall. In 0.2.4.x, we might want
to do the same for opening a nonblocking socket.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5129>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list