internal/app/spruntime: emulate pam_systemd type

This sets XDG_SESSION_TYPE to the corresponding values specified in pam_systemd(8) according to enablements.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-10-18 04:25:40 +09:00
parent 030ad2a73b
commit d4284c109d
9 changed files with 186 additions and 27 deletions

View File

@@ -275,7 +275,7 @@ func (state *outcomeStateSys) toSystem() error {
// TODO(ophestra): move this late for #8 and #9
&spFilesystemOp{},
spRuntimeOp{},
&spRuntimeOp{},
spTmpdirOp{},
spAccountOp{},