logind: add basic Varlink API

For now this only covers CreateSession() and ReleaseSession(), i.e. the
two operations pam_systemd cares about.
This commit is contained in:
Lennart Poettering
2025-01-15 11:56:47 +01:00
parent d00739f3f4
commit 2baca6c22b
12 changed files with 553 additions and 2 deletions
+4
View File
@@ -747,6 +747,10 @@ EOF
systemctl stop user@"$uid".service
}
testcase_varlink() {
varlinkctl introspect /run/systemd/io.systemd.Login
}
setup_test_user
test_write_dropin
run_testcases