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: Carl Fredrik Hammar
Subject: Re: Reauthentication implementation flaw due to EINTR
Date: Tue, 29 Dec 2009 23:29:35 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

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...

> 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?

Regards,
  Fredrik




reply via email to

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