[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #29769 [Core Tor/Torsocks]: [syscall] Unsupported syscall number 316. Denying the call (in tsocks_syscall() at syscall.c:615)



#29769: [syscall] Unsupported syscall number 316. Denying the call (in
tsocks_syscall() at syscall.c:615)
-------------------------------+------------------------------
 Reporter:  tu8367             |          Owner:  dgoulet
     Type:  defect             |         Status:  new
 Priority:  Medium             |      Milestone:
Component:  Core Tor/Torsocks  |        Version:  Tor: 0.3.5.8
 Severity:  Normal             |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:  #29659             |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+------------------------------

Comment (by tu8367):

 According to
 http://blog.rchapman.org/posts/Linux_System_Call_Table_for_x86_64/, 316 is
 sys_renameat2. It involves int olddfd, const char __user *oldname, int
 newdfd,  const char __user *newname, unsigned int flags.

 Oh, the Linux kernel has arch/x86/entry/syscalls/syscall_64.tbl. And 316
 is in the table. So it is renameat2. A manual page is, for example,
 http://man7.org/linux/man-pages/man2/rename.2.html. It is the same page
 for rename, and renameat. As far as I can tell, all three of rename,
 renameat and renameat2 are not supported by torsocks.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29769#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs