summaryrefslogtreecommitdiffstats
path: root/src/pam.rs
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2023-01-29 17:29:18 +0000
committerTomasz Kramkowski <tomasz@kramkow.ski>2023-01-29 17:29:18 +0000
commit8700f1a4e37b946f7f5c452a6677a3da3e9d11fa (patch)
tree88297dd8ec71e473e48ae6debaf1cbe62ca1311c /src/pam.rs
parent7365f0c5758954ea29b3e34648baca4b9876e624 (diff)
downloadpam_usercg_rust-8700f1a4e37b946f7f5c452a6677a3da3e9d11fa.tar.gz
pam_usercg_rust-8700f1a4e37b946f7f5c452a6677a3da3e9d11fa.tar.xz
pam_usercg_rust-8700f1a4e37b946f7f5c452a6677a3da3e9d11fa.zip
Return PAM_IGNORE from close session
Diffstat (limited to 'src/pam.rs')
-rw-r--r--src/pam.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pam.rs b/src/pam.rs
index 17e4590..81d543e 100644
--- a/src/pam.rs
+++ b/src/pam.rs
@@ -9,6 +9,7 @@ pub struct PAMHandle {
pub const SUCCESS: c_int = 0;
pub const SESSION_ERR: c_int = 14;
+pub const IGNORE: c_int = 25;
extern "C" {
fn pam_get_user(