[SSSD] [PATCH] Properly handle EINTR in sss_client

Stephen Gallagher sgallagh at redhat.com
Thu Dec 17 13:44:13 UTC 2009


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

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.



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

iEYEARECAAYFAksqNa0ACgkQeiVVYja6o6OrwwCgpXVHvmu++EQXnt4wi9dG5aA5
oz0Anip2FSpVfzSvDJ3B8kTrC51pNuDk
=qSUS
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Properly-handle-EINTR-from-poll.patch
Type: text/x-patch
Size: 3146 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091217/0a9c07fb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Properly-handle-EINTR-from-poll.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091217/0a9c07fb/attachment.sig>


More information about the sssd-devel mailing list