This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] handle EPROTOTYPE for socket invocations with SOCK_*flags
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Pino Toscano <toscano dot pino at tiscali dot it>
- Cc: <libc-alpha at sourceware dot org>, <aurelien at aurel32 dot net>
- Date: Thu, 7 Feb 2013 01:19:32 +0000
- Subject: Re: [PATCH] handle EPROTOTYPE for socket invocations with SOCK_*flags
- References: <201302062048.23106.toscano.pino@tiscali.it>
On Wed, 6 Feb 2013, Pino Toscano wrote:
> (OTOH, it seems that there are few Linux archs -- like mips*, arm, hppa,
> m68k -- which don't have __ASSUME_SOCK_CLOEXEC enabled in their
> kernel-features.h at all: does it mean the Linux kernel really returns
> EINVAL for unknown values as socket types?)
Regarding missing macros in kernel-features.h, and macros with incorrect
versions used, see bug 9894. That's about different macros, but Aurelien
once said he was doing a general review of everything in
kernel-features.h. I'd still encourage sending incremental patches that
(are correct for current sources and) fix things only for some macros or
architectures, so we don't need to wait for the whole review to be
complete before seeing any improvements in this area. (If you can put
some sort of table or list on the wiki indicating what has been checked
and what still needs checking against the kernel, so that other people can
join in the review, so much the better.)
--
Joseph S. Myers
joseph@codesourcery.com