[SSSD] [PATCH] Properly handle EINTR in sss_client

Stephen Gallagher sgallagh at redhat.com
Thu Dec 17 21:42:25 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/17/2009 08:48 AM, Simo Sorce wrote:
> On Thu, 2009-12-17 at 08:44 -0500, Stephen Gallagher wrote:
>> On 12/17/2009 08:22 AM, Stephen Gallagher wrote:
>>> We were treating all errno responses from poll() as a fatal error.
>> We
>>> need to handle EINTR and retry the poll().
>>>
>>> This solves the long-standing (but only recently opened)
>>> https://fedorahosted.org/sssd/ticket/335
>>>
>>
>>
>> Simo reminded me of the existence of the do...while() syntax. This
>> makes
>> the code rather more clear.
>>
>> New patch attached.
> 
> ACK,
> great catch.
> 
> Simo.
> 


Pushed to master and 1-0-0

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAksqpcAACgkQeiVVYja6o6P90QCgi+8ukPhsv/fcscEg2YMgpwCg
SAwAoIvNRD8g41ySLQ24QDoyzOPqRsXH
=svod
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list