feat(dbus): rewrite some dbus rules (9).

This commit is contained in:
Alexandre Pujol 2023-12-06 19:55:48 +00:00
parent 3425419f0e
commit 1307250250
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
34 changed files with 63 additions and 380 deletions

View file

@ -24,11 +24,6 @@ profile spice-vdagent @{exec_path} {
include <abstractions/nameservice-strict>
include <abstractions/X-strict>
dbus send bus=session path=/org/gnome/Mutter/DisplayConfig
interface=org.gnome.Mutter.DisplayConfig
member=GetCurrentState
peer=(name=:*, label=gnome-shell),
dbus send bus=session path=/org/freedesktop/portal/desktop
interface=org.freedesktop.portal.Realtime
member=MakeThreadRealtimeWithPID

View file

@ -19,11 +19,6 @@ profile thermald @{exec_path} flags=(attach_disconnected) {
dbus bind bus=system name=org.freedesktop.thermald,
dbus send bus=system path=/net/hadess/PowerProfiles
interface=org.freedesktop.DBus.Properties
member=GetAll
peer=(name=:*, label=power-profiles-daemon),
@{exec_path} mr,
/etc/thermald/{,*} r,

View file

@ -73,14 +73,6 @@ profile udisksd @{exec_path} flags=(attach_disconnected) {
interface=org.freedesktop.UDisks2.Job
peer=(name=org.freedesktop.DBus),
dbus (send,receive) bus=system path=/
interface=org.freedesktop.DBus.Introspectable
member=Introspect,
dbus (send,receive) bus=system path=/
interface=org.freedesktop.DBus.Properties
member=Get,
dbus send bus=system path=/org/freedesktop/DBus
interface=org.freedesktop.DBus
member={GetConnectionUnixUser,GetConnectionUnixProcessID}