feat(dbus): rewrite some dbus rules (3).
This commit is contained in:
parent
92ebab604a
commit
2af165403a
26 changed files with 117 additions and 191 deletions
|
|
@ -11,6 +11,7 @@ include <tunables/global>
|
|||
profile fwupd @{exec_path} flags=(complain,attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/bus/polkit>
|
||||
include <abstractions/bus/upower>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/dbus-strict>
|
||||
include <abstractions/disks-read>
|
||||
|
|
@ -34,6 +35,14 @@ profile fwupd @{exec_path} flags=(complain,attach_disconnected) {
|
|||
dbus receive bus=system path=/
|
||||
interface=org.freedesktop.fwupd
|
||||
peer=(name=:*, label=fwupdmgr),
|
||||
dbus receive bus=system path=/
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member={GetAll,SetHints,GetPlugins,GetRemotes}
|
||||
peer=(name=:*, label=fwupdmgr),
|
||||
dbus send bus=system path=/
|
||||
interface=org.freedesktop.DBus
|
||||
member=Changed
|
||||
peer=(name=:*, label=fwupdmgr),
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/DBus
|
||||
interface=org.freedesktop.DBus
|
||||
|
|
@ -52,20 +61,6 @@ profile fwupd @{exec_path} flags=(complain,attach_disconnected) {
|
|||
interface=org.freedesktop.{DBus.Properties,UDisks2.Manager}
|
||||
member={GetAll,GetBlockDevices},
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/UPower{,/devices/DisplayDevice}
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=GetAll,
|
||||
|
||||
dbus send bus=system path=/
|
||||
interface=org.freedesktop.DBus
|
||||
member=Changed
|
||||
peer=(label=fwupdmgr),
|
||||
|
||||
dbus receive bus=system path=/
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member={GetAll,SetHints,GetPlugins,GetRemotes}
|
||||
peer=(name=:*, label=fwupdmgr),
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{lib}/fwupd/fwupd-detect-cet rix,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue