feat(dbus): replace some rule by the new directives.

This commit is contained in:
Alexandre Pujol 2023-12-15 22:26:35 +00:00
parent 66a4a17924
commit b1212c6e62
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
26 changed files with 42 additions and 292 deletions

View file

@ -21,14 +21,7 @@ profile polkitd @{exec_path} flags=(attach_disconnected) {
ptrace (read),
dbus (bind) bus=system name=org.freedesktop.PolicyKit1,
dbus (send,receive) bus=system path=/org/freedesktop/PolicyKit1/*
interface=org.freedesktop.{DBus.Introspectable,DBus.Properties,PolicyKit1.*}, # all members
dbus send bus=system path=/org/gnome/PolicyKit1/*
interface=org.freedesktop.PolicyKit1.AuthenticationAgent
peer=(name=:*), # all members
# dbus: own bus=system name=org.freedesktop.PolicyKit1
dbus send bus=system path=/org/freedesktop/DBus
interface=org.freedesktop.DBus