xwayland: small fixes.

This commit is contained in:
Alexandre Pujol 2021-04-04 21:28:20 +01:00
parent a48b6eed2e
commit 9f17f48c6e
Failed to generate hash of commit
2 changed files with 6 additions and 3 deletions

View file

@ -25,7 +25,7 @@ profile xwayland @{exec_path} flags=(attach_disconnected) {
/dev/dri/renderD[0-9]* rw,
# TMP files
owner /tmp/server-[0-9].xkm rwk,
owner /tmp/server-[0-9]*.xkm rwk,
# Display Xserver on a specific TTY
/dev/tty[0-9]* rw,

View file

@ -7,7 +7,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/xkbcomp
profile xkbcomp @{exec_path} {
profile xkbcomp @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/deny-root-dir-access>
@ -21,7 +21,7 @@ profile xkbcomp @{exec_path} {
owner @{HOME}/*.{xkb,xkm} rw,
owner /tmp/server-[0-9].xkm rwk,
owner /tmp/server-[0-9]*.xkm rwk,
# file_inherit
owner /dev/tty[0-9]* rw,
@ -31,5 +31,8 @@ profile xkbcomp @{exec_path} {
owner /var/log/lightdm/x-[0-9]*.log w,
/dev/dri/card[0-9]* rw,
/dev/tty[0-9]* rw,
/dev/tty rw,
include if exists <local/xkbcomp>
}