feat: add ahfail-pam PAM module with cleanup-based failure detection

Implements a C-ABI PAM shared library that registers a pam_set_data
cleanup callback to detect auth failures and spawn/kill ahfail-display
via a double-fork, without ever touching credentials.
This commit is contained in:
Asger Geel Weirsøe
2026-05-06 19:30:05 +02:00
parent 9a2b081ff1
commit 23e33cccf1
5 changed files with 214 additions and 2 deletions
Generated
+3 -1
View File
@@ -17,7 +17,6 @@ dependencies = [
"gdk",
"glib",
"gstreamer",
"gstreamer-player",
"gtk",
"libc",
"pkg-config",
@@ -41,6 +40,9 @@ dependencies = [
[[package]]
name = "ahfail-pam"
version = "0.1.0"
dependencies = [
"libc",
]
[[package]]
name = "ahfail-ui"