ChocolateLoverRaj/pam-any

Investigate and document thread safety requirements

Aperta

#3 aperta il 18 mar 2024

 (3 commenti) (1 reazione) (1 assegnatario)Rust (4 fork)auto 404
help wanted

Metriche repository

Star
 (34 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

According to pam(3)

The libpam interfaces 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.

Guida contributor