feat(profiles): add dbus rules for some common profiles.

This commit is contained in:
Alexandre Pujol 2022-06-05 23:06:14 +01:00
parent e949654614
commit 583d7a15f0
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
43 changed files with 584 additions and 6 deletions

View file

@ -21,6 +21,25 @@ profile rtkit-daemon @{exec_path} {
capability sys_nice,
capability sys_ptrace,
dbus receive bus=system path=/org/freedesktop/RealtimeKit[0-9]
interface=org.freedesktop.DBus.Properties
member={Get,GetAll},
dbus receive bus=system path=/org/freedesktop/RealtimeKit[0-9]
interface=org.freedesktop.RealtimeKit[0-9]
member=MakeThreadRealtimeWithPID,
dbus send bus=system path=/org/freedesktop/DBus
interface=org.freedesktop.DBus
member=GetConnectionUnixUser,
dbus send bus=system path=/org/freedesktop/PolicyKit[0-9]/Authority
interface=org.freedesktop.PolicyKit[0-9].Authority
member=CheckAuthorization,
dbus bind bus=system
name=org.freedesktop.RealtimeKit[0-9],
@{exec_path} mr,
# When applying policies to processes