mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-29 22:35:15 +01:00
feat(abs): add initial version of dbus abs.
This commit is contained in:
parent
d75fa9bbd5
commit
8e45076077
2 changed files with 55 additions and 0 deletions
35
apparmor.d/abstractions/bus/network-manager
Normal file
35
apparmor.d/abstractions/bus/network-manager
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
dbus send bus=system path=/org/freedesktop/NetworkManager
|
||||||
|
interface=org.freedesktop.DBus.Properties
|
||||||
|
member=GetAll
|
||||||
|
peer=(name=org.freedesktop.NetworkManager, label=NetworkManager),
|
||||||
|
|
||||||
|
dbus send bus=system path=/org/freedesktop/NetworkManager
|
||||||
|
interface=org.freedesktop.NetworkManager
|
||||||
|
member=GetDevices
|
||||||
|
peer=(name=org.freedesktop.NetworkManager, label=NetworkManager),
|
||||||
|
|
||||||
|
dbus send bus=system path=/org/freedesktop/NetworkManager/ActiveConnection/@{int}
|
||||||
|
interface=org.freedesktop.DBus.Properties
|
||||||
|
member=GetAll
|
||||||
|
peer=(name=org.freedesktop.NetworkManager, label=NetworkManager),
|
||||||
|
|
||||||
|
dbus send bus=system path=/org/freedesktop/NetworkManager/Devices/@{int}
|
||||||
|
interface=org.freedesktop.DBus.Properties
|
||||||
|
member=GetAll
|
||||||
|
peer=(name=org.freedesktop.NetworkManager, label=NetworkManager),
|
||||||
|
|
||||||
|
dbus send bus=system path=/org/freedesktop/NetworkManager/Settings
|
||||||
|
interface=org.freedesktop.NetworkManager.Settings
|
||||||
|
member={GetDevices,ListConnections}
|
||||||
|
peer=(name=org.freedesktop.NetworkManager, label=NetworkManager),
|
||||||
|
|
||||||
|
dbus send bus=system path=/org/freedesktop/NetworkManager/Settings/@{int}
|
||||||
|
interface=org.freedesktop.NetworkManager.Settings.Connection
|
||||||
|
member=GetSettings
|
||||||
|
peer=(name=org.freedesktop.NetworkManager, label=NetworkManager),
|
||||||
|
|
||||||
|
include if exists <abstractions/bus/network-manager.d>
|
20
apparmor.d/abstractions/bus/vfs
Normal file
20
apparmor.d/abstractions/bus/vfs
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
dbus send bus=session path=/org/gtk/vfs/mounttracker
|
||||||
|
interface=org.gtk.vfs.MountTracker
|
||||||
|
member=ListMountableInfo
|
||||||
|
peer=(name=:*, label=gvfsd),
|
||||||
|
|
||||||
|
dbus send bus=session path=/org/gtk/vfs/mounttracker
|
||||||
|
interface=org.gtk.vfs.MountTracker
|
||||||
|
member=ListMounts2
|
||||||
|
peer=(name=:*, label=gvfsd),
|
||||||
|
|
||||||
|
dbus send bus=session path=/org/gtk/vfs/Daemon
|
||||||
|
interface=org.gtk.vfs.Daemon
|
||||||
|
member=ListMonitorImplementations
|
||||||
|
peer=(name=:*, label=gvfsd),
|
||||||
|
|
||||||
|
include if exists <abstractions/bus/vfs.d>
|
Loading…
Reference in a new issue