2021-04-02 01:00:33 +02:00
|
|
|
# apparmor.d - Full set of apparmor profiles
|
|
|
|
# Copyright (C) 2021 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>
|
2022-06-05 23:57:29 +02:00
|
|
|
include <abstractions/dbus-session-strict>
|
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,
|
|
|
|
|
2023-03-03 13:20:10 +01:00
|
|
|
dbus (receive) bus=session path=/org/gnome/evolution/dataserver{,/**}
|
|
|
|
interface=org.freedesktop.DBus.Introspectable
|
|
|
|
peer=(name=:*, label=gnome-shell),
|
|
|
|
|
2023-08-22 00:32:10 +02:00
|
|
|
dbus bind bus=session name=org.gnome.evolution.dataserver.Sources[0-9],
|
|
|
|
|
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
|
|
|
|
2022-10-16 16:12:23 +02:00
|
|
|
# new user; change to 'c'
|
|
|
|
owner @{user_config_dirs}/evolution/ w,
|
|
|
|
owner @{user_share_dirs}/evolution/ w,
|
|
|
|
owner @{user_share_dirs}/evolution/addressbook/ w,
|
|
|
|
owner @{user_share_dirs}/evolution/addressbook/trash/ w,
|
|
|
|
owner @{user_share_dirs}/evolution/calendar/ w,
|
|
|
|
owner @{user_share_dirs}/evolution/calendar/trash/ w,
|
|
|
|
owner @{user_share_dirs}/evolution/mail/ w,
|
2022-10-16 16:45:00 +02:00
|
|
|
owner @{user_share_dirs}/evolution/mail/trash/ w,
|
|
|
|
owner @{user_share_dirs}/evolution/memos/ w,
|
|
|
|
owner @{user_share_dirs}/evolution/memos/trash/ w,
|
2022-10-16 16:12:23 +02:00
|
|
|
owner @{user_share_dirs}/evolution/tasks/ w,
|
|
|
|
owner @{user_share_dirs}/evolution/tasks/trash/ w,
|
|
|
|
|
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>
|
|
|
|
}
|