[SSSD] [PATCH] Fix client libs thread safety

Simo Sorce ssorce at redhat.com
Sat Nov 20 20:33:31 UTC 2010


Had some spare time today and wanted to fix this issue.

The attached patch instruments nss and pam clients to use a pthread
mutex to prevent multiple threads from stomping on each other.

The patch is quite simple and basic testing seem to show no issues.
It may be worth of back-porting to older versions.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sss_client-make-code-thread-safe.patch
Type: text/x-patch
Size: 20622 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101120/9b6789cb/attachment.bin>


More information about the sssd-devel mailing list