feat(dbus): rewrite some dbus rules (5).
This commit is contained in:
parent
f5862c9862
commit
da3b5103e4
40 changed files with 119 additions and 400 deletions
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
|||
@{exec_path} = @{lib}/packagekitd
|
||||
profile packagekitd @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/bus/login>
|
||||
include <abstractions/bus/polkit>
|
||||
include <abstractions/dbus-strict>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
@ -64,11 +65,6 @@ profile packagekitd @{exec_path} flags=(attach_disconnected) {
|
|||
member={CheckPermissions,DeviceAdded,DeviceRemoved,StateChanged}
|
||||
peer=(name=:*, label=NetworkManager),
|
||||
|
||||
dbus receive bus=system path=/org/freedesktop/login1
|
||||
interface=org.freedesktop.login1.Manager
|
||||
member={SessionNew,PrepareForShutdown,SessionRemoved,UserNew,UserRemoved,PrepareForSleep}
|
||||
peer=(name=:*, label=systemd-logind),
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/gpg{,2} rCx -> gpg,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue