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

Re: dbus startup problem when built with eglibc-2.17



Svante Signell, le Mon 02 Sep 2013 22:35:51 +0200, a écrit :
> The solution is to patch dbus to cover also EPROTYYPE,
>   if (*fd_p < 0 && (errno == EINVAL || errno == EPROTOTYPE))
>   if (retval < 0 && (errno == EINVAL || errno == EPROTOTYPE))
> or to patch pf.c to return EINVAL instead of EPROTOTYPE.
> 
> Which way to go?

Since I've added the SOCK_CLOEXEC patch to the debian glibc, it'll get
fixed, but glibc should really check against EPROTOTYPE, since that's a
documented posix error for socket().

Samuel


Reply to: