[tor-bugs] #28861 [Core Tor/Torsocks]: torsocks: Unsupported syscall number 217

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jan 5 14:40:49 UTC 2019


#28861: torsocks: Unsupported syscall number 217
------------------------------------+------------------------------
 Reporter:  ilf                     |          Owner:  dgoulet
     Type:  defect                  |         Status:  needs_review
 Priority:  Medium                  |      Milestone:
Component:  Core Tor/Torsocks       |        Version:  Tor: 0.3.4.9
 Severity:  Normal                  |     Resolution:
 Keywords:  torsocks, syscall, 217  |  Actual Points:
Parent ID:                          |         Points:
 Reviewer:                          |        Sponsor:
------------------------------------+------------------------------

Comment (by traumschule):

 Hi! I get the following error. Did you possibly miss to commit a header
 file?

 {{{
 make[2]: Entering directory '/home/user/torsocks-seisvelas/src/lib'
   CC       syscall.lo
 syscall.c: In function ‘handle_getdents’:
 syscall.c:453:29: error: ‘TSOCKS_NR_GETDENTS’ undeclared (first use in
 this function)
   return tsocks_libc_syscall(TSOCKS_NR_GETDENTS, fd, dirp, count);
                              ^~~~~~~~~~~~~~~~~~
 syscall.c:453:29: note: each undeclared identifier is reported only once
 for each function it appears in
 syscall.c: In function ‘handle_getdents64’:
 syscall.c:468:29: error: ‘TSOCKS_NR_GETDENTS64’ undeclared (first use in
 this function)
   return tsocks_libc_syscall(TSOCKS_NR_GETDENTS64, fd, dirp, count);
                              ^~~~~~~~~~~~~~~~~~~~
 syscall.c: In function ‘tsocks_syscall’:
 syscall.c:592:7: error: ‘TSOCKS_NR_GETDENTS’ undeclared (first use in this
 function)
   case TSOCKS_NR_GETDENTS:
        ^~~~~~~~~~~~~~~~~~
 syscall.c:595:7: error: ‘TSOCKS_NR_GETDENTS64’ undeclared (first use in
 this function)
   case TSOCKS_NR_GETDENTS64:
        ^~~~~~~~~~~~~~~~~~~~
 Makefile:470: recipe for target 'syscall.lo' failed
 }}}

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


More information about the tor-bugs mailing list