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: Da Zheng
Subject: Re: Reauthentication implementation flaw due to EINTR
Date: Mon, 28 Dec 2009 17:58:47 +0800
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

On 09-12-27 上午1:47, Carl Fredrik Hammar wrote:
> 
> Is it the code below from S_auth_server_authenticate the problem?
> 
>   /* Store the new port and wait for the user RPC to wake us up.  */
>   s.passthrough = newport;
>   condition_init (&s.wakeup);
>   ports_interrupt_self_on_port_death (serverauth, rendezvous);
The reason we need this is to avoid this thread hangs forever if the client
somehow dies?

Zheng Da




reply via email to

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