From: "David S. Miller" <davem@redhat.com>
To: plars@linuxtestproject.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: recvfrom/recvmsg
Date: Sun, 10 Nov 2002 20:00:11 -0800 (PST) [thread overview]
Message-ID: <20021110.200011.39698409.davem@redhat.com> (raw)
In-Reply-To: <1036792764.17557.24.camel@plars>
From: Paul Larson <plars@linuxtestproject.org>
Date: 08 Nov 2002 15:59:24 -0600
Right now (2.5.46-bk current) I'm getting -1, errno 22 returned, but in
2.5.46 it was passing without error. Was this change intentional
(probably) and is that the correct errno to return. I checked SuS, but
I don't see anything related to that exact condition.
No idea. But -1 is invalid.
There is another test in the same program that also looks like it should
be failing. Recvfrom, testcase 3 tries to do a recvfrom with (struct
sockaddr *)-1 passed as the from buffer. Right now, it is passing
without an error, but that doesn't seem correct.
If namelen is zero, no attempt is made to access the sockaddr pointer.
Returning -EFAULT is always variable and no system call can guarentee
to return this so no test should require it to be returned.
prev parent reply other threads:[~2002-11-11 3:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-08 21:59 recvfrom/recvmsg Paul Larson
2002-11-11 4:00 ` David S. Miller [this message]
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=20021110.200011.39698409.davem@redhat.com \
--to=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=plars@linuxtestproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox