mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
feat(abs): update dbus absractions.
This commit is contained in:
parent
f76051f114
commit
cd09dc7688
@ -3,11 +3,11 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
dbus send bus=system path=/org/freedesktop/ColorManager
|
dbus send bus=system path=/org/freedesktop/ColorManager
|
||||||
interface=org.freedesktop.DBus.Properties
|
interface=org.freedesktop.ColorManager
|
||||||
member=GetAll
|
member=GetDevices
|
||||||
peer=(name=:*, label=colord),
|
peer=(name=:*, label=colord),
|
||||||
|
|
||||||
dbus send bus=system path=/org/freedesktop/ColorManager/devices/*
|
dbus send bus=system path=/org/freedesktop/ColorManager{,/**}
|
||||||
interface=org.freedesktop.DBus.Properties
|
interface=org.freedesktop.DBus.Properties
|
||||||
member=GetAll
|
member=GetAll
|
||||||
peer=(name=:*, label=colord),
|
peer=(name=:*, label=colord),
|
||||||
|
@ -10,11 +10,11 @@
|
|||||||
dbus send bus=session path=/org/freedesktop/systemd1
|
dbus send bus=session path=/org/freedesktop/systemd1
|
||||||
interface=org.freedesktop.DBus.Properties
|
interface=org.freedesktop.DBus.Properties
|
||||||
member={Get,GetAll}
|
member={Get,GetAll}
|
||||||
peer=(name="{:*,org.freedesktop.systemd1}", label="@{systemd}"),
|
peer=(name="{:*,org.freedesktop.systemd1}", label="@{systemd_user}"),
|
||||||
|
|
||||||
dbus send bus=session path=/org/freedesktop/systemd1
|
dbus send bus=session path=/org/freedesktop/systemd1
|
||||||
interface=org.freedesktop.systemd1.Manager
|
interface=org.freedesktop.systemd1.Manager
|
||||||
member=GetUnit
|
member=GetUnit
|
||||||
peer=(name="{:*,org.freedesktop.systemd1}", label="@{systemd}"),
|
peer=(name="{:*,org.freedesktop.systemd1}", label="@{systemd_user}"),
|
||||||
|
|
||||||
include if exists <abstractions/bus/org.freedesktop.systemd1-session.d>
|
include if exists <abstractions/bus/org.freedesktop.systemd1-session.d>
|
||||||
|
@ -2,6 +2,11 @@
|
|||||||
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
dbus send bus=system path=/org/freedesktop/timedate1
|
||||||
|
interface=org.freedesktop.DBus.Properties
|
||||||
|
member=Get
|
||||||
|
peer=(name=org.freedesktop.timedate1, label=systemd-timedated),
|
||||||
|
|
||||||
dbus send bus=system path=/org/freedesktop/timedate1
|
dbus send bus=system path=/org/freedesktop/timedate1
|
||||||
interface=org.freedesktop.DBus.Properties
|
interface=org.freedesktop.DBus.Properties
|
||||||
member=GetAll
|
member=GetAll
|
||||||
|
15
apparmor.d/abstractions/bus/org.gnome.ArchiveManager1
Normal file
15
apparmor.d/abstractions/bus/org.gnome.ArchiveManager1
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
dbus send bus=session path=/org/gnome/ArchiveManager1
|
||||||
|
interface=org.freedesktop.DBus.Properties
|
||||||
|
member=GetAll
|
||||||
|
peer=(name=:*, label=file-roller),
|
||||||
|
|
||||||
|
dbus send bus=session path=/org/gnome/ArchiveManager1
|
||||||
|
interface=org.gnome.ArchiveManager1
|
||||||
|
member=GetSupportedTypes
|
||||||
|
peer=(name=:*, label=file-roller),
|
||||||
|
|
||||||
|
include if exists <abstractions/bus/org.gnome.ArchiveManager1.d>
|
@ -22,4 +22,9 @@
|
|||||||
member=PropertiesChanged
|
member=PropertiesChanged
|
||||||
peer=(name=:*, label=gnome-shell),
|
peer=(name=:*, label=gnome-shell),
|
||||||
|
|
||||||
|
dbus receive bus=session path=/org/gnome/Mutter/DisplayConfig
|
||||||
|
interface=org.gnome.Mutter.DisplayConfig
|
||||||
|
member=MonitorsChanged
|
||||||
|
peer=(name=:*, label=gnome-shell),
|
||||||
|
|
||||||
include if exists <abstractions/bus/org.gnome.Mutter.DisplayConfig.d>
|
include if exists <abstractions/bus/org.gnome.Mutter.DisplayConfig.d>
|
||||||
|
@ -7,4 +7,14 @@
|
|||||||
member=GetAll
|
member=GetAll
|
||||||
peer=(name=:*, label=nautilus),
|
peer=(name=:*, label=nautilus),
|
||||||
|
|
||||||
|
dbus send bus=session path=/org/gnome/Nautilus/FileOperations2
|
||||||
|
interface=org.freedesktop.DBus.Introspectable
|
||||||
|
member=Introspect
|
||||||
|
peer=(name=:*, label=nautilus),
|
||||||
|
|
||||||
|
dbus receive bus=session path=/org/gnome/Nautilus/FileOperations2
|
||||||
|
interface=org.freedesktop.DBus.Properties
|
||||||
|
member=PropertiesChanged
|
||||||
|
peer=(name=:*, label=nautilus),
|
||||||
|
|
||||||
include if exists <abstractions/bus/org.gnome.Nautilus.FileOperations2.d>
|
include if exists <abstractions/bus/org.gnome.Nautilus.FileOperations2.d>
|
||||||
|
Loading…
Reference in New Issue
Block a user