mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
feat(profiles): update some dbus rules.
This commit is contained in:
parent
bec892b179
commit
7f231caf1b
3 changed files with 7 additions and 2 deletions
|
@ -44,7 +44,7 @@ profile colord @{exec_path} flags=(attach_disconnected) {
|
|||
member=GetAll
|
||||
peer=(name=:*, label="{gsd-color,colord-sane,gnome-control-center}"),
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/ColorManager
|
||||
dbus (send, receive) bus=system path=/org/freedesktop/ColorManager
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=GetAll
|
||||
peer=(name=:*, label=colord),
|
||||
|
|
|
@ -67,6 +67,11 @@ profile xdg-desktop-portal @{exec_path} flags=(attach_disconnected) {
|
|||
member=SettingChanged
|
||||
peer=(name=org.freedesktop.DBus), # all peer's labels
|
||||
|
||||
dbus receive bus=session path=/org/freedesktop/portal/desktop
|
||||
interface=org.freedesktop.portal.Settings
|
||||
member={ReadAll,GetAll}
|
||||
peer=(name=:*, label=snap.snapd-desktop-integration.snapd-desktop-integration),
|
||||
|
||||
dbus receive bus=session path=/org/freedesktop/portal/desktop
|
||||
interface=org.freedesktop.impl.portal.Settings
|
||||
member=SettingChanged
|
||||
|
|
|
@ -200,7 +200,7 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected) {
|
|||
member=JobRemoved
|
||||
peer=(name=:*),
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/login[0-9]{,/**}
|
||||
dbus (send, receive) bus=system path=/org/freedesktop/login[0-9]{,/**}
|
||||
interface=org.freedesktop.{DBus.Properties,login[0-9].{Manager,Session}}
|
||||
peer=(name=:*, label=systemd-logind),
|
||||
|
||||
|
|
Loading…
Reference in a new issue