[tor-bugs] #29092 [Core Tor/Torsocks]: Unsupported syscall number 220 (getdents64)

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 22 22:42:49 UTC 2019


#29092: Unsupported syscall number 220 (getdents64)
-------------------------------+---------------------------
 Reporter:  traumschule        |          Owner:  dgoulet
     Type:  enhancement        |         Status:  closed
 Priority:  Medium             |      Milestone:
Component:  Core Tor/Torsocks  |        Version:
 Severity:  Normal             |     Resolution:  duplicate
 Keywords:  syscall            |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+---------------------------
Changes (by traumschule):

 * status:  needs_information => closed
 * resolution:   => duplicate


Comment:

 The issue here seems to be that {{{which}}} is not reliable and another
 torsocks is executed (likely {{{/usr/bin/torsocks}}}) than the one at the
 path returned by which. Your branch indeed fixes the issue, closing as
 duplicate of #28861.

 {{{
 $ git branch
 * getdent_fix

 $ ./configure && make && sudo make install
 ...
  /bin/bash /path/to/torsocks-seisvelas/config/install-sh -c -m 755
 torsocks '/usr/local/bin'
 ...

 $ which torsocks
 /usr/local/bin/torsocks
 }}}

 1. Run {{{torsocks reportbug}}} (with DISPLAY being set)
 2. Click „Next“
 3. Enter a package name like {{{torsocks}}}

 Terminal output:
 {{{
 $ torsocks reportbug
 1548162833 WARNING torsocks[27785]: [syscall] Unsupported syscall number
 220. Denying the call (in tsocks_syscall() at syscall.c:568)
 1548162833 WARNING torsocks[27787]: [syscall] Unsupported syscall number
 220. Denying the call (in tsocks_syscall() at syscall.c:568)

 $ /usr/local/bin/torsocks reportbug
 [no error]
 }}}

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


More information about the tor-bugs mailing list