bind() broken for AF_UNIX in chroots

2007-06-28 Thread Michael Banck
Hi, (The "use-case" here being that for some funky reason dbus needs to get started in order to build core parts of Gnome in Debian, thus Gnome is broken in Debian GNU/Hurd until this is fixed, or we decide to build Gnome completely manually from now on) The following program works fine in a real

Re: poll() return value problems according to POSIX(?)

2007-06-28 Thread Samuel Thibault
Hi, Michael Banck, le Thu 28 Jun 2007 17:57:47 +0200, a écrit : > poll() should not fail on others (like EBADF), but POLLNVAL should be > set accordingly in revents instead. > > Are we at fail here, is this python test bogus or am I just confused? The Hurd should probably rather use POLLNVAL, si

poll() return value problems according to POSIX(?)

2007-06-28 Thread Michael Banck
(sorry if that is a FAQ, but google didn't find prior discussion) Hi, python2.5 introduced a configure check for a broken poll(), which is positive on GNU/Hurd (thus HAVE_BROKEN_POLL is defined), but not Linux. The code of the check is as follows: #include int main (void) { struct pol