feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2022-07-21 22:37:17 +01:00
parent 58b96a7ba9
commit 177d27d94c
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
19 changed files with 106 additions and 73 deletions

View file

@ -13,6 +13,7 @@ include <tunables/global>
@{exec_path} += /{usr/,}lib/xorg/Xorg{,.wrap}
profile xorg @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/dbus-strict>
include <abstractions/fontconfig-cache-read>
include <abstractions/fonts>
include <abstractions/freedesktop.org>
@ -40,6 +41,15 @@ profile xorg @{exec_path} flags=(attach_disconnected) {
network netlink raw,
dbus send bus=system path=/org/freedesktop/login[0-9]{,/session/*}
interface=org.freedesktop.{DBus.Properties,login1.Session}
member={ReleaseControl,TakeControl,TakeDevice,ReleaseDevice,GetSessionByPID}
peer=(name=org.freedesktop.login[0-9]),
dbus receive bus=system path=/org/freedesktop/login[0-9]/session/*
interface=org.freedesktop.login1.Session
member=PauseDevice,
@{exec_path} mrix,
/{usr/,}bin/{,ba,da}sh rix,