On Tue, Aug 18, 2015 at 11:28:36AM +0100, Dimitris Papastamos wrote:
> On Tue, Aug 18, 2015 at 12:23:12PM +0200, Gabriel Pérez-Cerezo wrote:
> > At Tue, 18 Aug 2015 11:15:59 +0100,
> > Dimitris Papastamos wrote:
> > > > The command prints
> > > > [Aug 18 11:55:55] WARNING torsocks[14305]: [syscall] Unsupported
> > > > syscall number 240. Denying the call (in tsocks_syscall() at syscall.c:165)
> > > > to STDOUT.
> > >
> > > What syscall is it?
> > I don't know. I tried man syscall and man syscalls but none of them
> > contain a list of syscalls by number. How do I look it up?
>
> Numbers are different per architecture. For i686 I guess the right
> place to look is here[0].
>
> Futexes are not directly used by surf but indirectly by libc. I don't
> think there is much we can do here, this seems like an issue on the torsocks
> side. By denying the system call, perhaps something is left uninitialized
> and then crashes.
>
> [0] http://lxr.free-electrons.com/source/arch/x86/syscalls/syscall_32.tbl
Best place to look for the according syscall for your architecture and
current version is in /usr/include/asm/unistd{,_32,_64}.h depending
wether you have an 32 or 64 bit system.
Received on Tue Aug 18 2015 - 12:41:51 CEST