[Top] [All Lists]

Re: explain to me how this works...

Subject: Re: explain to me how this works...
From: Ralf Baechle <>
Date: Thu, 14 Nov 2002 19:39:24 +0100
In-reply-to: <>; from on Wed, Nov 13, 2002 at 05:42:00PM -0800
Original-recipient: rfc822;
References: <> <>
User-agent: Mutt/
On Wed, Nov 13, 2002 at 05:42:00PM -0800, Greg Lindahl wrote:

> I have a 64-bit kernel and O32 userland.
> I notice that arping gets confused because the syscall socket() is
> returning 4183 instead of a reasonable value like 3... if strace()
> isn't lying to me.
> How do I debug this? The O32 userland calls through the socketcall()
> syscall. It looks OK.

Eh?  Nothing on MIPS should use socketcall(2); we have all the calls like
socket(2), bind(2), connect(2) etc. directly in our syscall table unlike
x86 which uses this pointless wrapper for historical reasons.  We only
have socketcall(2) in the o32 syscall interface but it's a candidate for
removal as nothing we still do support and that's glibc 2.0 and higher
binaries uses it.


<Prev in Thread] Current Thread [Next in Thread>