apparmor.d/apparmor.d/groups/gnome/gnome-calendar
2024-02-07 00:16:21 +01:00

50 lines
1.7 KiB
Plaintext

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/gnome-calendar
profile gnome-calendar @{exec_path} {
include <abstractions/base>
include <abstractions/bus-accessibility>
include <abstractions/bus-session>
include <abstractions/bus-system>
include <abstractions/bus/org.a11y>
include <abstractions/bus/org.freedesktop.login1>
include <abstractions/bus/org.freedesktop.NetworkManager>
include <abstractions/bus/org.freedesktop.portal.Desktop>
include <abstractions/bus/org.freedesktop.timedate1>
include <abstractions/dconf-write>
include <abstractions/gnome-strict>
include <abstractions/graphics>
include <abstractions/nameservice-strict>
include <abstractions/openssl>
include <abstractions/p11-kit>
include <abstractions/ssl_certs>
network netlink raw,
# dbus: own bus=session name=org.gnome.Calendar interface={org.freedesktop.Application,org.gtk.Actions}
# dbus: talk bus=session name=org.gnome.evolution.dataserver.CalendarView label=evolution-calendar-factory
# dbus: talk bus=session name=org.gnome.evolution.dataserver.Source label=evolution-source-registry
# dbus: talk bus=system name=org.freedesktop.GeoClue2 label=geoclue
dbus send bus=session path=/org/gnome/evolution/dataserver/SourceManager{,/**}
interface=org.freedesktop.DBus.ObjectManager
member=GetManagedObjects
peer=(name=:*, label=evolution-source-registry),
@{exec_path} mr,
/usr/share/evolution-data-server/{,**} r,
/usr/share/libgweather/Locations.xml r,
owner @{PROC}/@{pid}/cmdline r,
include if exists <local/gnome-calendar>
}