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

Richard Megginson rmeggins at redhat.com
Wed Jul 6 22:28:28 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/20050706/e19508da/attachment.ksh>


More information about the Fedora-directory-devel mailing list