ChocolateLoverRaj/pam-any

Investigate and document thread safety requirements

Aberta

#3 aberto em 18 de mar. de 2024

 (3 comentários) (1 reação) (1 responsável)Rust (4 forks)auto 404
help wanted

Métricas do repositório

Stars
 (34 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador