feat(dbus): rewrite some dbus rules (7).

This commit is contained in:
Alexandre Pujol 2023-12-05 21:01:26 +00:00
parent 081c8a4fa1
commit 538ec25001
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
43 changed files with 221 additions and 377 deletions

View file

@ -10,6 +10,7 @@ include <tunables/global>
@{exec_path} += @{lib}/@{multiarch}/cups-pk-helper-mechanism
profile cups-pk-helper-mechanism @{exec_path} {
include <abstractions/base>
include <abstractions/bus/polkit>
include <abstractions/dbus-strict>
include <abstractions/nameservice-strict>
@ -19,11 +20,10 @@ profile cups-pk-helper-mechanism @{exec_path} {
network inet stream,
network inet6 stream,
dbus bind bus=system name=org.opensuse.CupsPkHelper.Mechanism,
dbus receive bus=system path=/
interface=org.opensuse.CupsPkHelper.Mechanism,
dbus bind bus=system
name=org.opensuse.CupsPkHelper.Mechanism,
interface=org.opensuse.CupsPkHelper.Mechanism
peer=(name=:*),
@{exec_path} mr,