mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
feat(profiles): minor dbus improvment.
This commit is contained in:
parent
cdf601ca5c
commit
0031c9e86f
3 changed files with 19 additions and 5 deletions
|
@ -43,10 +43,10 @@ profile apt @{exec_path} flags=(attach_disconnected) {
|
||||||
member={StateHasChanged,Introspect}
|
member={StateHasChanged,Introspect}
|
||||||
peer=(name=org.freedesktop.PackageKit),
|
peer=(name=org.freedesktop.PackageKit),
|
||||||
|
|
||||||
dbus send bus=system path=/org/freedesktop/login[0-9]
|
dbus send bus=system path=/org/freedesktop/login1
|
||||||
interface=org.freedesktop.login[0-9].Manager
|
interface=org.freedesktop.login1.Manager
|
||||||
member=Inhibit
|
member=Inhibit
|
||||||
peer=(name=org.freedesktop.login[0-9]),
|
peer=(name=org.freedesktop.login1),
|
||||||
|
|
||||||
dbus send bus=system path=/org/freedesktop/DBus{,/Bus}
|
dbus send bus=system path=/org/freedesktop/DBus{,/Bus}
|
||||||
interface=org.freedesktop.DBus{,.Introspectable}
|
interface=org.freedesktop.DBus{,.Introspectable}
|
||||||
|
@ -57,8 +57,7 @@ profile apt @{exec_path} flags=(attach_disconnected) {
|
||||||
interface=org.freedesktop.{DBus.Introspectable,PolicyKit1.Authority}
|
interface=org.freedesktop.{DBus.Introspectable,PolicyKit1.Authority}
|
||||||
member={CheckAuthorization,Introspect},
|
member={CheckAuthorization,Introspect},
|
||||||
|
|
||||||
dbus bind bus=system
|
dbus bind bus=system name=org.debian.apt,
|
||||||
name=org.debian.apt,
|
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
|
|
@ -57,6 +57,16 @@ profile ibus-extension-gtk3 @{exec_path} flags=(attach_disconnected) {
|
||||||
member=Embed
|
member=Embed
|
||||||
peer=(name=org.a11y.atspi.Registry), # all peer's labels
|
peer=(name=org.a11y.atspi.Registry), # all peer's labels
|
||||||
|
|
||||||
|
dbus receive bus=accessibility path=/org/a11y/atspi/accessible/root
|
||||||
|
interface=org.freedesktop.DBus.Properties
|
||||||
|
member=Set
|
||||||
|
peer=(name=:*, label=at-spi2-registryd),
|
||||||
|
|
||||||
|
dbus receive bus=accessibility path=/org/a11y/atspi/registry
|
||||||
|
interface=org.a11y.atspi.Registry
|
||||||
|
member=EventListenerDeregistered
|
||||||
|
peer=(name=:*, label=at-spi2-registryd),
|
||||||
|
|
||||||
dbus receive bus=session
|
dbus receive bus=session
|
||||||
interface=org.freedesktop.DBus.Introspectable
|
interface=org.freedesktop.DBus.Introspectable
|
||||||
member=Introspect
|
member=Introspect
|
||||||
|
|
|
@ -24,6 +24,11 @@ profile gsd-disk-utility-notify @{exec_path} {
|
||||||
interface=org.freedesktop.DBus.ObjectManager
|
interface=org.freedesktop.DBus.ObjectManager
|
||||||
member=GetManagedObjects,
|
member=GetManagedObjects,
|
||||||
|
|
||||||
|
dbus receive bus=session
|
||||||
|
interface=org.freedesktop.DBus.Introspectable
|
||||||
|
member=Introspect
|
||||||
|
peer=(name=:*, label=gnome-shell),
|
||||||
|
|
||||||
dbus bind bus=session
|
dbus bind bus=session
|
||||||
name=org.gnome.Disks.NotificationMonitor,
|
name=org.gnome.Disks.NotificationMonitor,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue