Profile update.

This commit is contained in:
Alexandre Pujol 2021-04-23 12:40:19 +01:00
parent 749859920e
commit 49bddc0382
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
11 changed files with 24 additions and 18 deletions

View file

@ -9,6 +9,8 @@ include <tunables/global>
@{exec_path} = /{usr/,}bin/Xwayland
profile xwayland @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/dri-common>
include <abstractions/dri-enumerate>
include <abstractions/mesa>
include <abstractions/nameservice-strict>
@ -19,13 +21,9 @@ profile xwayland @{exec_path} flags=(attach_disconnected) {
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/xkbcomp rPx,
/usr/share/drirc.d/{,*} r,
/usr/share/glvnd/egl_vendor.d/{,*.json} r,
/usr/share/X11/xkb/rules/evdev r,
/dev/dri/card[0-9]* rw,
/dev/dri/renderD[0-9]* rw,
# TMP files
owner /tmp/server-[0-9]*.xkm rwk,
@ -36,12 +34,6 @@ profile xwayland @{exec_path} flags=(attach_disconnected) {
# Needed for Mutter
owner @{run}/user/@{uid}/.mutter-Xwaylandauth.[a-zA-z0-9]* rw,
@{sys}/devices/pci[0-9]*/**/uevent r,
@{sys}/devices/pci[0-9]*/**/vendor r,
@{sys}/devices/pci[0-9]*/**/device r,
@{sys}/devices/pci[0-9]*/**/subsystem_vendor r,
@{sys}/devices/pci[0-9]*/**/subsystem_device r,
owner @{PROC}/@{pids}/cmdline r,
include if exists <local/xwayland>