mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-16 00:13:48 +01:00
51 lines
1.5 KiB
Plaintext
51 lines
1.5 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} = @{libexec}/evolution-source-registry
|
|
profile evolution-source-registry @{exec_path} flags=(complain ) {
|
|
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,
|
|
|
|
@{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/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>
|
|
}
|