mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-16 00:13:48 +01:00
58 lines
1.9 KiB
Plaintext
58 lines
1.9 KiB
Plaintext
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{lib}/{,evolution-data-server/}evolution-source-registry
|
|
profile evolution-source-registry @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dbus-session-strict>
|
|
include <abstractions/dconf-write>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/p11-kit>
|
|
include <abstractions/ssl_certs>
|
|
|
|
network inet stream,
|
|
network inet6 stream,
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
network netlink raw,
|
|
|
|
dbus (receive) bus=session path=/org/gnome/evolution/dataserver{,/**}
|
|
interface=org.freedesktop.DBus.Introspectable
|
|
peer=(name=:*, label=gnome-shell),
|
|
|
|
dbus bind bus=session name=org.gnome.evolution.dataserver.Sources[0-9],
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
|
|
owner @{user_cache_dirs}/evolution/{,**} rwk,
|
|
owner @{user_config_dirs}/evolution/sources/{,*} rw,
|
|
owner @{user_share_dirs}/evolution/{,**} r,
|
|
owner @{user_share_dirs}/gvfs-metadata/{,*} r,
|
|
|
|
# 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,
|
|
owner @{user_share_dirs}/evolution/mail/trash/ w,
|
|
owner @{user_share_dirs}/evolution/memos/ w,
|
|
owner @{user_share_dirs}/evolution/memos/trash/ w,
|
|
owner @{user_share_dirs}/evolution/tasks/ w,
|
|
owner @{user_share_dirs}/evolution/tasks/trash/ w,
|
|
|
|
@{PROC}/sys/kernel/osrelease r,
|
|
@{PROC}/cmdline r,
|
|
|
|
include if exists <local/evolution-source-registry>
|
|
}
|