ChocolateLoverRaj/pam-any

Investigate and document thread safety requirements

开放

#3 创建于 2024年3月18日

 (3 条评论) (1 个反应) (1 位负责人)Rust (4 个派生)auto 404
help wanted

仓库指标

星标
 (34 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南