2021-04-02 01:00:33 +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:00:33 +02:00
|
|
|
|
|
|
|
abi <abi/3.0>,
|
|
|
|
|
|
|
|
include <tunables/global>
|
|
|
|
|
2023-07-09 15:09:55 +02:00
|
|
|
@{exec_path} = @{lib}/{,evolution-data-server/}evolution-source-registry
|
2022-10-16 16:46:39 +02:00
|
|
|
profile evolution-source-registry @{exec_path} {
|
2021-04-02 01:00:33 +02:00
|
|
|
include <abstractions/base>
|
2023-12-06 22:56:59 +01:00
|
|
|
include <abstractions/bus-session>
|
2023-12-06 20:38:47 +01:00
|
|
|
include <abstractions/bus/org.gtk.vfs.MountTracker>
|
2022-06-09 22:55:55 +02:00
|
|
|
include <abstractions/dconf-write>
|
2021-04-02 01:00:33 +02:00
|
|
|
include <abstractions/nameservice-strict>
|
|
|
|
include <abstractions/p11-kit>
|
2022-06-05 23:47:37 +02:00
|
|
|
include <abstractions/ssl_certs>
|
2021-04-02 01:00:33 +02:00
|
|
|
|
|
|
|
network inet stream,
|
|
|
|
network inet6 stream,
|
|
|
|
network inet dgram,
|
|
|
|
network inet6 dgram,
|
|
|
|
network netlink raw,
|
|
|
|
|
2024-02-06 22:37:59 +01:00
|
|
|
signal (receive) set=(cont, term) peer=systemd-user,
|
|
|
|
|
2023-12-01 21:58:21 +01:00
|
|
|
dbus bind bus=session name=org.gnome.evolution.dataserver.Sources@{int},
|
|
|
|
dbus receive bus=session path=/org/gnome/evolution/dataserver/SourceManager{,/**}
|
|
|
|
interface={org.freedesktop.DBus.ObjectManager,org.freedesktop.DBus.Properties}
|
|
|
|
peer=(name=:*),
|
2023-12-05 22:01:26 +01:00
|
|
|
dbus receive bus=session path=/org/gnome/evolution/dataserver/SourceManager{,/**}
|
|
|
|
interface=org.gnome.evolution.dataserver.Source{,.*}
|
|
|
|
peer=(name=:*),
|
2023-12-01 21:58:21 +01:00
|
|
|
dbus send bus=session path=/org/gnome/evolution/dataserver/SourceManager{,/**}
|
|
|
|
interface=org.freedesktop.DBus.Properties
|
|
|
|
peer=(name=org.freedesktop.DBus),
|
|
|
|
|
2023-08-27 15:46:49 +02:00
|
|
|
dbus receive bus=session
|
|
|
|
interface=org.freedesktop.DBus.Introspectable
|
2023-09-15 19:14:39 +02:00
|
|
|
member=Introspect
|
2023-08-27 15:46:49 +02:00
|
|
|
peer=(name=:*, label=gnome-shell),
|
|
|
|
|
|
|
|
dbus send bus=session path=/org/gnome/OnlineAccounts
|
|
|
|
interface=org.freedesktop.DBus.ObjectManager
|
2023-12-01 21:58:21 +01:00
|
|
|
member=GetManagedObjects
|
2023-08-27 15:46:49 +02:00
|
|
|
peer=(name=:*, label=goa-daemon),
|
|
|
|
|
2021-04-02 01:00:33 +02:00
|
|
|
@{exec_path} mr,
|
2022-05-07 12:35:21 +02:00
|
|
|
|
2021-04-02 01:00:33 +02:00
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
|
|
|
2022-10-06 21:47:22 +02:00
|
|
|
owner @{user_cache_dirs}/evolution/{,**} rwk,
|
2021-04-09 15:47:06 +02:00
|
|
|
owner @{user_config_dirs}/evolution/sources/{,*} rw,
|
2021-04-02 01:00:33 +02:00
|
|
|
owner @{user_share_dirs}/evolution/{,**} r,
|
2022-10-06 21:47:22 +02:00
|
|
|
owner @{user_share_dirs}/gvfs-metadata/{,*} r,
|
2021-04-02 01:00:33 +02:00
|
|
|
|
2023-12-05 22:01:26 +01:00
|
|
|
owner @{user_config_dirs}/evolution/{,**/} w,
|
|
|
|
owner @{user_share_dirs}/evolution/{,**/} w,
|
2022-10-16 16:12:23 +02:00
|
|
|
|
2021-04-04 00:23:03 +02:00
|
|
|
@{PROC}/sys/kernel/osrelease r,
|
|
|
|
@{PROC}/cmdline r,
|
|
|
|
|
2021-04-02 01:00:33 +02:00
|
|
|
include if exists <local/evolution-source-registry>
|
|
|
|
}
|