2021-04-02 01:06:05 +02:00
|
|
|
# apparmor.d - Full set of apparmor profiles
|
2024-02-07 00:16:21 +01:00
|
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
2021-04-02 11:23:57 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2021-04-02 01:06:05 +02:00
|
|
|
|
|
|
|
abi <abi/3.0>,
|
|
|
|
|
|
|
|
include <tunables/global>
|
|
|
|
|
2023-07-09 15:09:55 +02:00
|
|
|
@{exec_path} = @{bin}/gnome-calendar
|
2021-04-02 01:06:05 +02:00
|
|
|
profile gnome-calendar @{exec_path} {
|
|
|
|
include <abstractions/base>
|
2023-12-12 19:29:08 +01:00
|
|
|
include <abstractions/bus-accessibility>
|
2023-12-06 22:56:59 +01:00
|
|
|
include <abstractions/bus-session>
|
|
|
|
include <abstractions/bus-system>
|
2023-12-12 19:29:08 +01:00
|
|
|
include <abstractions/bus/org.a11y>
|
2023-12-06 20:38:47 +01:00
|
|
|
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>
|
2022-06-09 22:55:55 +02:00
|
|
|
include <abstractions/dconf-write>
|
2023-12-05 22:01:26 +01:00
|
|
|
include <abstractions/gnome-strict>
|
2023-12-20 00:29:15 +01:00
|
|
|
include <abstractions/graphics>
|
2021-04-02 01:06:05 +02:00
|
|
|
include <abstractions/nameservice-strict>
|
|
|
|
include <abstractions/openssl>
|
2021-10-22 16:01:43 +02:00
|
|
|
include <abstractions/p11-kit>
|
2021-04-08 23:25:48 +02:00
|
|
|
include <abstractions/ssl_certs>
|
2021-04-02 01:06:05 +02:00
|
|
|
|
|
|
|
network netlink raw,
|
|
|
|
|
2023-12-16 22:30:47 +01:00
|
|
|
# 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{,/**}
|
2023-12-05 22:01:26 +01:00
|
|
|
interface=org.freedesktop.DBus.ObjectManager
|
|
|
|
member=GetManagedObjects
|
2023-12-16 22:30:47 +01:00
|
|
|
peer=(name=:*, label=evolution-source-registry),
|
2023-12-05 22:01:26 +01:00
|
|
|
|
2021-04-02 01:06:05 +02:00
|
|
|
@{exec_path} mr,
|
|
|
|
|
2022-11-20 12:42:08 +01:00
|
|
|
/usr/share/evolution-data-server/{,**} r,
|
2022-06-26 17:40:48 +02:00
|
|
|
/usr/share/libgweather/Locations.xml r,
|
2021-04-02 01:06:05 +02:00
|
|
|
|
2023-09-15 23:01:08 +02:00
|
|
|
owner @{PROC}/@{pid}/cmdline r,
|
|
|
|
|
2021-04-02 01:06:05 +02:00
|
|
|
include if exists <local/gnome-calendar>
|
|
|
|
}
|