comparison src/libpam/mod.rs @ 92:5ddbcada30f2

Add the ability to log against a PAM handle. PAM impls provide a way to log to syslog. This exposes it via nonstick.
author Paul Fisher <paul@pfish.zone>
date Sun, 22 Jun 2025 19:29:32 -0400
parents 5aa1a010f1e8
children b87100c5eed4
comparison
equal deleted inserted replaced
91:039aae9a01f7 92:5ddbcada30f2
1 //! The PAM library FFI and helpers for managing it. 1 //! The implementation of the PAM interface that wraps `libpam`.
2 //! 2 //!
3 //! This includes the functions provided by PAM and the data structures 3 //! While you're going to want to write PAM modules and applications against
4 //! used by PAM, as well as a few low-level abstractions for dealing with 4 //! the interfaces in [the `handle` module](crate::handle) for testability,
5 //! those data structures. 5 //! this is (probably) what will be used behind the scenes.
6 //!
7 //! Everything in here is hazmat.
8 6
9 #![allow(dead_code)] 7 #![allow(dead_code)]
10 8
11 mod answer; 9 mod answer;
12 mod conversation; 10 mod conversation;