diff 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
line wrap: on
line diff
--- a/src/libpam/mod.rs	Wed Jun 18 16:30:41 2025 -0400
+++ b/src/libpam/mod.rs	Sun Jun 22 19:29:32 2025 -0400
@@ -1,10 +1,8 @@
-//! The PAM library FFI and helpers for managing it.
+//! The implementation of the PAM interface that wraps `libpam`.
 //!
-//! This includes the functions provided by PAM and the data structures
-//! used by PAM, as well as a few low-level abstractions for dealing with
-//! those data structures.
-//!
-//! Everything in here is hazmat.
+//! While you're going to want to write PAM modules and applications against
+//! the interfaces in [the `handle` module](crate::handle) for testability,
+//! this is (probably) what will be used behind the scenes.
 
 #![allow(dead_code)]