feat(profile): add some dbus rules.
This commit is contained in:
parent
53f3a27e16
commit
9f49052529
36 changed files with 98 additions and 140 deletions
|
|
@ -19,10 +19,7 @@ profile ModemManager @{exec_path} flags=(attach_disconnected) {
|
|||
network qipcrtr dgram,
|
||||
network netlink raw,
|
||||
|
||||
dbus bind bus=system name=org.freedesktop.ModemManager1,
|
||||
dbus receive bus=system path=/org/freedesktop/ModemManager1
|
||||
interface=org.freedesktop.DBus.{ObjectManager,Properties}
|
||||
peer=(name=:*),
|
||||
# dbus: own bus=system name=org.freedesktop.ModemManager1
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ profile NetworkManager @{exec_path} flags=(attach_disconnected) {
|
|||
include <abstractions/bus/org.freedesktop.login1>
|
||||
include <abstractions/bus/org.freedesktop.ModemManager1>
|
||||
include <abstractions/bus/org.freedesktop.PolicyKit1>
|
||||
include <abstractions/bus/org.freedesktop.resolve1>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/openssl>
|
||||
include <abstractions/ssl_certs>
|
||||
|
|
|
|||
|
|
@ -20,10 +20,7 @@ profile nm-dispatcher @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
ptrace (read) peer=unconfined,
|
||||
|
||||
dbus bind bus=system name=org.freedesktop.nm_dispatcher,
|
||||
dbus receive bus=system path=/org/freedesktop/nm_dispatcher
|
||||
interface=org.freedesktop.nm_dispatcher
|
||||
peer=(name=:*),
|
||||
# dbus: own bus=system name=org.freedesktop.nm_dispatcher
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue