[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: |
Wed, 30 Dec 2009 16:38:35 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Wed, Dec 30, 2009 at 02:01:12PM +0100, Samuel Thibault wrote:
> Carl Fredrik Hammar, le Wed 30 Dec 2009 12:40:02 +0100, a écrit :
> >
> > The notification has been requested by
> > auth_server_authenticate which is waiting for auth_user_authenticate
> > to arive.
>
> Only when the user isn't arrived already.
Right, but we know it hasn't since the server has posted a pending
operation, otherwise we'd be in the else part of the if.
> > In the then part of the if statement, the user has found that the
> > server is waiting for the condition to be signaled, which is right
> > time to cancel the notification.
>
> Err, isn't the notification bound to an RPC?
> (really, I don't know anything about these and the Mach documentation
> doesn't help me so much).
The low-level interface is bound to the port we want notifications about.
The rendezvous port in this case, which is the same for auth_user and
auth_server.
libports associates it with the RPC and thread too though, so to clean
it up properly I guess we'd need to pass such information through the
pending structure.
Regards,
Fredrik
- Re: Reauthentication implementation flaw due to EINTR, (continued)
- Re: Reauthentication implementation flaw due to EINTR, Samuel Thibault, 2009/12/27
- Re: Reauthentication implementation flaw due to EINTR, Samuel Thibault, 2009/12/27
- Re: Reauthentication implementation flaw due to EINTR, Carl Fredrik Hammar, 2009/12/29
- Re: Reauthentication implementation flaw due to EINTR, Samuel Thibault, 2009/12/29
- Re: Reauthentication implementation flaw due to EINTR, Carl Fredrik Hammar, 2009/12/29
- Re: Reauthentication implementation flaw due to EINTR, Samuel Thibault, 2009/12/29
- Re: Reauthentication implementation flaw due to EINTR, Carl Fredrik Hammar, 2009/12/30
- Re: Reauthentication implementation flaw due to EINTR, Samuel Thibault, 2009/12/30
- Re: Reauthentication implementation flaw due to EINTR,
Carl Fredrik Hammar <=
- Re: Reauthentication implementation flaw due to EINTR, Samuel Thibault, 2009/12/30
- Re: Reauthentication implementation flaw due to EINTR, Da Zheng, 2009/12/28
- Re: Reauthentication implementation flaw due to EINTR, Samuel Thibault, 2009/12/28
- Re: Reauthentication implementation flaw due to EINTR, Samuel Thibault, 2009/12/28
- Re: Reauthentication implementation flaw due to EINTR, Da Zheng, 2009/12/28
- Re: Reauthentication implementation flaw due to EINTR, Samuel Thibault, 2009/12/28
- Re: Reauthentication implementation flaw due to EINTR, Da Zheng, 2009/12/28
- Re: Reauthentication implementation flaw due to EINTR, Samuel Thibault, 2009/12/28
Re: Reauthentication implementation flaw due to EINTR, Da Zheng, 2009/12/28