Alphanumeric systemd sessions (#47)

This commit is contained in:
nobodysu 2022-06-01 17:54:07 +00:00 committed by GitHub
parent b45161a68e
commit 7db753f0c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 24 additions and 23 deletions

View file

@ -157,7 +157,7 @@ profile sddm @{exec_path} {
# Run SDDM on a specific TTY
/dev/tty[0-9]* rw,
@{run}/systemd/sessions/[0-9]*.ref rw,
@{run}/systemd/sessions/*.ref rw,
profile sddm-scripts {

View file

@ -16,7 +16,7 @@ profile spice-vdagentd @{exec_path} {
owner @{run}/spice-vdagentd/spice-vdagentd.pid rw,
@{run}/systemd/seats/seat[0-9]* r,
@{run}/systemd/sessions/[0-9]* r,
@{run}/systemd/sessions/* r,
@{run}/systemd/users/@{uid} r,
@{PROC}/@{pids}/cgroup r,
@ -25,4 +25,4 @@ profile spice-vdagentd @{exec_path} {
/dev/vport[0-9]*p[0-9]* rw,
include if exists <local/spice-vdagentd>
}
}