feat(dbus): add more dbus abstraction.
This commit is contained in:
parent
2432414ae2
commit
16c2bf5662
24 changed files with 60 additions and 76 deletions
10
apparmor.d/abstractions/bus/vfs/daemon
Normal file
10
apparmor.d/abstractions/bus/vfs/daemon
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# 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/Daemon
|
||||
interface=org.gtk.vfs.Daemon
|
||||
member={ListMonitorImplementations,ListMountableInfo}
|
||||
peer=(name=:*, label=gvfsd),
|
||||
|
||||
include if exists <abstractions/bus/vfs/daemon.d>
|
||||
15
apparmor.d/abstractions/bus/vfs/metadata
Normal file
15
apparmor.d/abstractions/bus/vfs/metadata
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# 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/metadata
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=GetAll
|
||||
peer=(name=:*, label=gvfsd-metadata),
|
||||
|
||||
dbus receive bus=session path=/org/gtk/vfs/metadata
|
||||
interface=org.gtk.vfs.Metadata
|
||||
member=AttributeChanged
|
||||
peer=(name=:*, label=gvfsd-metadata),
|
||||
|
||||
include if exists <abstractions/bus/vfs/metadata.d>
|
||||
|
|
@ -12,9 +12,4 @@
|
|||
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>
|
||||
include if exists <abstractions/bus/vfs/mount.d>
|
||||
Loading…
Add table
Add a link
Reference in a new issue