[Fedora-directory-devel] Resend: Please review: make PAM passthru plugin thread safe

Rich Megginson rmeggins at redhat.com
Fri Jul 15 18:04:11 UTC 2005


Since PAM is not thread safe, only 1 thread at a time may access the PAM
API.  This fix adds a mutex around the critical section where we call
all of the PAM functions.  I've also added another init function which
is used to create the mutex.  This has been tested on RHEL4 under a
moderate load and seems to work fine.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cvsdiffs
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20050715/d12c6172/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3312 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20050715/d12c6172/attachment.bin>


More information about the Fedora-directory-devel mailing list