[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SOCK_CLOEXEC glibc patches (was: dbus startup problem when built with eglibc-2.17)



On Mon, 2013-09-02 at 23:56 +0200, Thomas Schwinge wrote:
> Hi!
> 

> This is strange -- nearly five years ago, I have implemented SOCK_CLOEXEC
> for socket in TopGit branch t/socket_flags and for socketpair in
> t/socketpair_flags (plus depending branches t/fcntl-internal.h and
> t/verify.h).  Could you please check why this is no longer functional?

Sorry, I cannot find anything hurd specific in these branches. Of course
I've missed something :(

The return error code is from pflocal/pf.c: EPFNOSUPPORT /* Protocol
family not supported */ not from the eglibc __socket/__socketpair
wrapper.
dbus expects to get EINVAL/* Operation not supported */ which in my
opinion is a more sane response since it is a flag, not a protocol.


Reply to: