feat(dbus): rewrite some dbus rules (1).
This commit is contained in:
parent
d6888a65c4
commit
6d1ff256af
32 changed files with 248 additions and 383 deletions
|
|
@ -30,20 +30,20 @@ profile fwupd @{exec_path} flags=(complain,attach_disconnected) {
|
|||
|
||||
network netlink raw,
|
||||
|
||||
dbus bind bus=system name=org.freedesktop.fwupd,
|
||||
dbus receive bus=system path=/
|
||||
interface=org.freedesktop.fwupd
|
||||
peer=(name=:*, label=fwupdmgr),
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/DBus
|
||||
interface=org.freedesktop.DBus
|
||||
member={GetConnectionUnixUser,RemoveMatch,RequestName,ReleaseName}
|
||||
peer=(name=org.freedesktop.DBus),
|
||||
member={GetConnectionUnixUser,GetConnectionUnixProcessID}
|
||||
peer=(name=org.freedesktop.DBus, label=dbus-daemon),
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/ModemManager1
|
||||
interface=org.freedesktop.DBus.{Properties,ObjectManager}
|
||||
member={GetAll,GetManagedObjects},
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/PolicyKit1/Authority
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member={Changed,GetAll}
|
||||
peer=(label=polkitd),
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/UDisks2/block_devices/*
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=GetAll,
|
||||
|
|
@ -66,11 +66,6 @@ profile fwupd @{exec_path} flags=(complain,attach_disconnected) {
|
|||
member={GetAll,SetHints,GetPlugins,GetRemotes}
|
||||
peer=(name=:*, label=fwupdmgr),
|
||||
|
||||
dbus (send, receive) bus=system
|
||||
interface=org.freedesktop.fwupd,
|
||||
|
||||
dbus bind bus=system name=org.freedesktop.fwupd,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{lib}/fwupd/fwupd-detect-cet rix,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue