[PATCH] powerpc: Add syscall entries for socket system calls

Anton Blanchard anton at samba.org
Mon Mar 26 23:57:51 UTC 2012

Hi Dimitry,

> On Tue, Mar 27, 2012 at 10:34:54AM +1100, Anton Blanchard wrote:
> > 
> > 	* linux/powerpc/syscallent.h: Add socket system calls
> Just for the record, what have happened with the socket subcall on
> ppc?

The socket subcall will continue to exist but we will transition over
to the explicit system calls over time.

Recently introduced socket calls are already doing it. Before the patch:

syscall_344(0x1, 0xfffc672daa0, 0xfffc672dab0, 0, 0, 0) = -1 (errno 88)

And after:

accept4(1, 0xfffe1e5af70, [128], 0)     = -1 ENOTSOCK (Socket operation
on non-socket)

It is unfortunate the calls were not added in the same order as the old
socket subcall, we could have shared the table in strace. Too late now.


More information about the Strace-devel mailing list