From: Greg Lindahl <lindahl@keyresearch.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Subject: Re: explain to me how this works...
Date: Thu, 14 Nov 2002 13:12:32 -0800 [thread overview]
Message-ID: <20021114131232.B1706@wumpus.internal.keyresearch.com> (raw)
In-Reply-To: <20021114211251.C5610@linux-mips.org>; from ralf@linux-mips.org on Thu, Nov 14, 2002 at 09:12:51PM +0100
On Thu, Nov 14, 2002 at 09:12:51PM +0100, Ralf Baechle wrote:
> Unlikely to help him. The return value 4183 of socket that he's observing
> is the syscall number of socket(2).
Thank you, I should have noticed that one right off.
My sprinkle of printks already tells me that strace is a liar - no
surprise there.
strace says:
socket(PF_PACKET, SOCK_DGRAM, 0) = 4183
socket(PF_PACKET, SOCK_DGRAM, 0) = 4183
socket(PF_PACKET, SOCK_DGRAM, 0) = -1 EAFNOSUPPORT (Address family not supported by protocol)
printk says:
sys_socket returning 0
sys32_socket returning 0
sys_socket returning -124
sys32_socket returning -124
Note strace sees 3 syscalls. I only printk at the return statement,
and there are 2 of those. I'll add more printks...
-- greg
next prev parent reply other threads:[~2002-11-14 21:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-05 16:53 gcc 3.2 is available for RedHat 7.3/mips/mipsel H. J. Lu
2002-11-14 1:42 ` explain to me how this works Greg Lindahl
2002-11-14 4:15 ` ilya
2002-11-14 16:10 ` Greg Lindahl
2002-11-14 18:39 ` Ralf Baechle
2002-11-14 19:30 ` Greg Lindahl
2002-11-14 20:07 ` Jun Sun
2002-11-14 20:12 ` Ralf Baechle
2002-11-14 21:12 ` Greg Lindahl [this message]
2002-11-14 21:50 ` Greg Lindahl
2002-11-14 22:27 ` Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021114131232.B1706@wumpus.internal.keyresearch.com \
--to=lindahl@keyresearch.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.