[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dbus startup problem when built with eglibc-2.17
From: |
Samuel Thibault |
Subject: |
Re: dbus startup problem when built with eglibc-2.17 |
Date: |
Sat, 21 Sep 2013 15:59:28 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
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