service/pam: move pam execution to subprocess to allow killing it

Many pam modules can't be aborted well without this.
This commit is contained in:
outfoxxed 2024-06-18 03:29:25 -07:00
parent b5c8774a79
commit e89035b18c
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
10 changed files with 480 additions and 173 deletions

View file

@ -3,6 +3,8 @@
qt_add_library(quickshell-service-pam STATIC
qml.cpp
conversation.cpp
ipc.cpp
subprocess.cpp
)
qt_add_qml_module(quickshell-service-pam
URI Quickshell.Services.Pam