diff src/libpam/pam_ffi.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 f6186e41399b
children efe2f5f8b5b2
line wrap: on
line diff
--- a/src/libpam/pam_ffi.rs	Wed Jun 18 16:30:41 2025 -0400
+++ b/src/libpam/pam_ffi.rs	Sun Jun 22 19:29:32 2025 -0400
@@ -1,6 +1,6 @@
 //! The types that are directly represented in PAM function signatures.
 
-#![allow(non_camel_case_types)]
+#![allow(non_camel_case_types, non_upper_case_globals)]
 
 use crate::libpam::memory::Immovable;
 use std::ffi::{c_int, c_uint, c_void, CStr};