On Sun, Oct 28, 2001 at 02:06:48AM +0100, Marcus Brinkmann wrote:
> So at least two bugs involved here?  It seems so.  Below you can see
> the gdb output of syslogd at the time of sudo hanging.  I should be able
> to narrow it further than that by debugging syslogd in more detail.

It was instructive to step through syslogd.  What happens is that
syslogd listens on a unix and an inet socket with poll.  poll
returns revents 1 for unix and 3 for inet socket (POLLIN and
POLLIN|POLLPRI.  So syslogd will try to get a line from the unix
socket (works) and then from the inet socket, which hangs as there is
no data.

So glibc returns the wrong values in revents for poll.  I am now going to
look into glibc select code.

Thanks,
Marcus


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to