apparmor.d/apparmor.d/groups/gnome/gnome-remote-desktop-daemon
2025-03-30 16:27:41 +02:00

38 lines
1 KiB
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{lib}/gnome-remote-desktop-daemon
profile gnome-remote-desktop-daemon @{exec_path} {
include <abstractions/base>
include <abstractions/bus-session>
include <abstractions/bus-system>
include <abstractions/bus/org.freedesktop.PolicyKit1>
include <abstractions/dconf-write>
include <abstractions/gnome-strict>
include <abstractions/graphics>
include <abstractions/nameservice-strict>
network inet dgram,
network inet stream,
network inet6 dgram,
network inet6 stream,
network netlink raw,
#aa:dbus own bus=system name=org.gnome.RemoteDesktop
#aa:dbus talk bus=system name=org.gnome.DisplayManager label=gdm
@{exec_path} mr,
/usr/share/gnome-remote-desktop/{,**} r,
owner /var/lib/gnome-remote-desktop//{,**} r,
include if exists <local/gnome-remote-desktop-daemon>
}
# vim:syntax=apparmor