mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
feat(dbus): update common dbus abs.
This commit is contained in:
parent
8162c0aa2a
commit
f5862c9862
3 changed files with 26 additions and 2 deletions
|
@ -2,9 +2,24 @@
|
|||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/login1
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member={Get,GetAll}
|
||||
peer=(name="{:*,org.freedesktop.login1}", label=systemd-logind),
|
||||
|
||||
dbus receive bus=system path=/org/freedesktop/login1
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=PropertiesChanged
|
||||
peer=(name=:*, label=systemd-logind),
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/login1
|
||||
interface=org.freedesktop.login1.Manager
|
||||
member=Inhibit
|
||||
peer=(name=org.freedesktop.login1, label=systemd-logind),
|
||||
peer=(name="{:*,org.freedesktop.login1}", label=systemd-logind),
|
||||
|
||||
dbus receive bus=system path=/org/freedesktop/login1
|
||||
interface=org.freedesktop.login1.Manager
|
||||
member={SessionNew,SessionRemoved,UserNew,UserRemoved,PrepareFor*}
|
||||
peer=(name=:*, label=systemd-logind),
|
||||
|
||||
include if exists <abstractions/bus/login.d>
|
||||
|
|
|
@ -7,5 +7,14 @@
|
|||
member=GetManagedObjects
|
||||
peer=(name=:*, label=udisksd),
|
||||
|
||||
dbus receive bus=system path=/org/freedesktop/UDisks2
|
||||
interface=org.freedesktop.DBus.ObjectManager
|
||||
member=InterfacesAdded
|
||||
peer=(name=:*, label=udisksd),
|
||||
|
||||
dbus receive bus=system path=/org/freedesktop/UDisks2/jobs/@{int}
|
||||
interface=org.freedesktop.UDisks2.Job
|
||||
member=Completed
|
||||
peer=(name=:*, label=udisksd),
|
||||
|
||||
include if exists <abstractions/bus/udisk.d>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
dbus send bus=system path=/org/freedesktop/UPower
|
||||
interface=org.freedesktop.UPower
|
||||
member=EnumerateDevices
|
||||
peer=(name=org.freedesktop.UPower, label=upowerd),
|
||||
peer=(name="{:*,org.freedesktop.UPower}", label=upowerd),
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/UPower
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
|
|
Loading…
Reference in a new issue