[tor-bugs] #29092 [Core Tor/Torsocks]: Unsupported syscall number 220 (getdents64)
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Jan 16 23:33:38 UTC 2019
#29092: Unsupported syscall number 220 (getdents64)
-------------------------------+-------------------------
Reporter: traumschule | Owner: dgoulet
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Torsocks | Version:
Severity: Normal | Resolution:
Keywords: syscall | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------+-------------------------
Comment (by onirony):
Fascinating! That patch ''should'' make getdents64 work as well. Are you
100% sure you are using the most updated version of that branch? I booted
up 32-bit Debian and ran the following code through standard Torsocks:
[https://gist.github.com/seisvelas/f8a9faf45ec3a38b88e2361d3b88ee43
SYS_getdents64.c]
As expected, it gives the following error:
{{{
WARNING torsocks[28411]: [syscall] Unsupported syscall number 220. Denying
the call (in tsocks_syscall() at syscall.c:568)
}}}
I then ran the same code through my patch from ticket
[https://trac.torproject.org/projects/tor/ticket/28861 #28861] and
execution completed error-free.
Please take a very close look to make sure you are using the getdent_fix
branch (`git clone --branch getdent_fix
https://github.com/seisvelas/torsocks.git`). If it still gives you the
error from your ticket, let me know the exact sequence of steps you are
taking in `reportbug` to get to this error so I can attempt to reproduce
it.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29092#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list