[tor-bugs] #13294 [Torsocks]: futex support

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 7 10:42:54 UTC 2015


#13294: futex support
--------------------------+---------------------------
     Reporter:  Safari    |      Owner:  dgoulet
         Type:  defect    |     Status:  needs_review
     Priority:  normal    |  Milestone:
    Component:  Torsocks  |    Version:
   Resolution:            |   Keywords:  syscall futex
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+---------------------------

Comment (by yawning):

 Isis pointed out to me that certain libuv based applications break
 horribly when ran with torsocks.

 Maybe this is deserving of a separate branch/ticket, but for the record:
  * ~~`accept4`~~ (Done, see the branch).
  * `epoll_create`/`epoll_create1`
  * `epoll_wait`/`epoll_pwait`
  * `epoll_ctl`
  * `eventfd`/`eventfd2`
  * `inotify_init`/`inotify_init1`
  * `inotify_add_watch`/`inotify_rm_watch`
  * `pipe2` (Kind of optional, fallback code exists, but it will log
 warnings).

 I have sort of mixed feelings about this, because I really want to say the
 correct behavior here is, "fix libuv to use the glibc wrappers that only
 the most prehistoric of glibcs won't have".  Even with my yet to be
 commited changes that handle all the epoll/eventfd/inotify calls, I still
 can't get enough of the libuv regression tests to pass to satisfy me
 either.

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


More information about the tor-bugs mailing list