This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] handle EPROTOTYPE for socket invocations with SOCK_*flags


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]