-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dbus): add more bus abstraction.
- Loading branch information
Showing
4 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
apparmor.d/abstractions/bus/org.freedesktop.Tracker3.Miner.Files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# apparmor.d - Full set of apparmor profiles | ||
# Copyright (C) 2023 Alexandre Pujol <[email protected]> | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
dbus send bus=session path=/org/freedesktop/Tracker3/Endpoint | ||
interface=org.freedesktop.DBus.Peer | ||
member=Ping | ||
peer=(name=org.freedesktop.Tracker3.Miner.Files, label=tracker-miner), | ||
|
||
dbus send bus=session path=/org/freedesktop/Tracker3/Endpoint | ||
interface=org.freedesktop.Tracker3.Endpoint | ||
member=Query | ||
peer=(name=org.freedesktop.Tracker3.Miner.Files, label=tracker-miner), | ||
|
||
include if exists <abstractions/bus/org.freedesktop.Tracker3.Miner.Files.d> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# apparmor.d - Full set of apparmor profiles | ||
# Copyright (C) 2023 Alexandre Pujol <[email protected]> | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
dbus send bus=system path=/org/gnome/DisplayManager/Manager | ||
interface=org.gnome.DisplayManager.Manager | ||
member=RegisterDisplay | ||
peer=(name=:*, label=gdm), | ||
|
||
include if exists <abstractions/bus/org.gnome.DisplayManager.d> |
10 changes: 10 additions & 0 deletions
10
apparmor.d/abstractions/bus/org.gnome.Nautilus.FileOperations2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# apparmor.d - Full set of apparmor profiles | ||
# Copyright (C) 2023 Alexandre Pujol <[email protected]> | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
dbus send bus=session path=/org/gnome/Nautilus/FileOperations2 | ||
interface=org.freedesktop.DBus.Properties | ||
member=GetAll | ||
peer=(name=:*, label=nautilus), | ||
|
||
include if exists <abstractions/bus/org.gnome.Nautilus.FileOperations2.d> |
15 changes: 15 additions & 0 deletions
15
apparmor.d/abstractions/bus/org.gtk.Private.RemoteVolumeMonitor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# apparmor.d - Full set of apparmor profiles | ||
# Copyright (C) 2023 Alexandre Pujol <[email protected]> | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
dbus send bus=session path=/org/gtk/Private/RemoteVolumeMonitor | ||
interface=org.gtk.Private.RemoteVolumeMonitor | ||
member={List,IsSupported,VolumeChanged,VolumeMount,MountAdded} | ||
peer=(name=:*, label=gvfs-*-monitor), | ||
|
||
dbus receive bus=session path=/org/gtk/Private/RemoteVolumeMonitor | ||
interface=org.gtk.Private.RemoteVolumeMonitor | ||
member={MountAdded,VolumeChanged} | ||
peer=(name=:*, label=gvfs-*-volume-monitor), | ||
|
||
include if exists <abstractions/bus/org.gtk.Private.RemoteVolumeMonitor.d> |