8445e39 PAM: fix handling the client fd in pam destructor

Authored and Committed by jhrozek 11 years ago
    PAM: fix handling the client fd in pam destructor
    
    * Protect the fd with a mutex when closing
    * Set it to a safe value after closing
    
        
file modified
+12 -5
file modified
+2 -9
file modified
+4 -4