[SSSD] [PATCH] Fix client libs thread safety

Simo Sorce ssorce at redhat.com
Mon Nov 22 14:23:01 UTC 2010


On Mon, 22 Nov 2010 10:46:02 +0100
Sumit Bose <sbose at redhat.com> wrote:

> Protecting a whole PAM task like authentication with a mutex can lead
> to DOS situation when a user logs into a threaded application with his
> username but "forgets" to enter his password immediately because the
> phone is ringing.

After discussing this point on IRC, moved the mutex to cover only
socket communication for the pam client.

New patch attached.

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: 20643 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101122/99cdfd49/attachment.bin>


More information about the sssd-devel mailing list