[SSSD] [PATCH] Ensure that fds are only added once in the sbus

Stephen Gallagher sgallagh at redhat.com
Wed Aug 26 19:51:26 UTC 2009


There were cases that we we were mishandling where D-BUS would try
to send us the same file descriptor when changing events. Instead
of trying to blindly add a new event (which caused an EEXIST error
in epoll), we will remove the old tevent_fd and add the new one.

Also, we were trying to be too fancy in the toggle function. It is
simpler to just remove or add watches as appropriate.


-- 
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Ensure-that-fds-are-only-added-once-in-the-sbus.patch
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20090826/62b63310/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20090826/62b63310/attachment.sig>


More information about the sssd-devel mailing list