invalid system call on Android

Dmitry V. Levin ldv at altlinux.org
Wed Sep 22 18:47:35 UTC 2021


On Wed, Sep 22, 2021 at 08:21:02PM +0200, Eugene Syromyatnikov wrote:
> On Wed, Sep 22, 2021 at 7:13 PM Jason Hussey
> <jasonhussey at mymail.mines.edu> wrote:
> >
> > Greetings,
> >
> > I'm getting an invalid system call error message on a rooted Android phone which I cross-compiled strace for.
> 
> What version of strace have you built?
> 
> > I can use these exact commands on a different rooted phone, so is the difference here kernel related? Are certain system calls just unexposed in different kernel versions?
> >
> > surya:/ # strace -f -p 11157 -e trace=%net
> > strace: invalid system call '%net'
> 
> %net alias is a relatively recent addition (commit v4.26~74). "-e
> trace=network" or "-e trace=%network" should work, though.

Commit v4.26~74 was almost 3 years ago.  Quite recent.


-- 
ldv


More information about the Strace-devel mailing list