ChocolateLoverRaj/pam-any
View on GitHubInvestigate and document thread safety requirements
Open
#3 opened on Mar 18, 2024
help wanted
Repository metrics
- Stars
- (34 stars)
- PR merge metrics
- (PR metrics pending)
Description
According to pam(3)
The
libpaminterfaces are only thread-safe if each thread within the multithreaded application uses its own PAM handle.
Looks to me like the current implementation either is unsound due to violating libpam thread-safety requirements or relies on some internal libpam implementation details for soundness.