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

@ -17,13 +17,7 @@ profile boltd @{exec_path} flags=(attach_disconnected) {
network netlink raw,
dbus bind bus=system name=org.freedesktop.bolt,
dbus (send, receive) bus=system path=/org/freedesktop/bolt
interface=org.freedesktop.bolt1{,.*}
peer=(name=:*),
dbus (send, receive) bus=system path=/org/freedesktop/bolt
interface=org.freedesktop.DBus.Properties
peer=(name=:*),
# dbus: own bus=system name=org.freedesktop.bolt
@{exec_path} mr,

View file

@ -33,10 +33,7 @@ profile fwupd @{exec_path} flags=(complain,attach_disconnected) {
network netlink raw,
dbus bind bus=system name=org.freedesktop.fwupd,
dbus (send, receive) bus=system path=/
interface={org.freedesktop.fwupd,org.freedesktop.DBus{,.Properties}}
peer=(name="{:*,org.freedesktop.fwupd,org.freedesktop.DBus}"),
# dbus: own bus=system name=org.freedesktop.fwupd path=/
dbus send bus=system path=/org/freedesktop/DBus
interface=org.freedesktop.DBus