bug-hurd
[Top][All Lists]
Advanced

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

Re: more info about sudo/pflocal/syslogd problem


From: Marcus Brinkmann
Subject: Re: more info about sudo/pflocal/syslogd problem
Date: Sun, 28 Oct 2001 02:58:30 +0100
User-agent: Mutt/1.3.18i

On Sun, Oct 28, 2001 at 02:50:46AM +0100, Marcus Brinkmann wrote:
> On Sun, Oct 28, 2001 at 02:37:28AM +0100, Marcus Brinkmann wrote:
> > So glibc returns the wrong values in revents for poll.  I am now going to
> > look into glibc select code.
> > 
> 
> Actually, in hurdselect.c, line 394ff:
> 
> (gdb) print d[0].type
> $22 = 9
> (gdb) print d[1].type
> $23 = -1962934272
> 
> If gdb doesn't play tricks on me, this is certainly bogus.
> Note that the first descriptor (0) is the unix socket, while
> the second is the inet socket.

Similar on line 93 already. d[1] is not initalized correctly.
In line 93:

(gdb) print pollfds[0]
$47 = {fd = 4, events = 3, revents = 286}
(gdb) print pollfds[1]
$48 = {fd = 5, events = 3, revents = 0}
(gdb) print d[0].type
$49 = 5
(gdb) print d[1].type
$50 = -268435456





reply via email to

[Prev in Thread] Current Thread [Next in Thread]