bug-hurd
[Top][All Lists]
Advanced

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

Re: Reauthentication implementation flaw due to EINTR


From: Samuel Thibault
Subject: Re: Reauthentication implementation flaw due to EINTR
Date: Tue, 29 Dec 2009 23:34:08 +0100
User-agent: Mutt/1.5.12-2006-07-14

Carl Fredrik Hammar, le Tue 29 Dec 2009 23:29:35 +0100, a écrit :
> On Tue, Dec 29, 2009 at 10:55:41PM +0100, Samuel Thibault wrote:
> > Carl Fredrik Hammar, le Tue 29 Dec 2009 22:48:26 +0100, a écrit :
> > > It's still a mystery to me why ext2fs gets an EINTR without auth
> > > explicitly returning EINTR...
> > 
> > AIUI, the RPC gets aborted and ext2fs receives MACH_RCV_PORT_DIED, which
> > _hurd_intr_rpc_mach_msg turns into EINTR.
> 
> Wait, isn't the receive port in this case the auth port?  This could
> be bad...

Oops, I meant MACH_RCV_TIMED_OUT above.

> > BTW, reproducing the bug is really easy:
> > 
> > while sudo date ; do : ; done
> 
> OK, I can use that for the client side.  I don't really have a setup
> for testing the auth server though.  Do you use a sub-Hurd or something?

I've never managed to find time to set up a sub-hurd, so I just debug
with writes on the console :)

Samuel




reply via email to

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