apparmor.d/apparmor.d/groups/gnome/evolution-source-registry

39 lines
1.0 KiB
Plaintext
Raw Normal View History

2021-04-02 01:00:33 +02:00
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
2021-04-02 01:00:33 +02:00
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}lib/evolution-source-registry
profile evolution-source-registry @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/ssl_certs>
include <abstractions/p11-kit>
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_config_dirs}/evolution/sources/{,*} r,
owner @{user_share_dirs}/evolution/{,**} r,
owner @{user_share_dirs}/gvfs-metadata/{,*} r,
owner @{user_cache_dirs}/evolution/{,**} rwk,
include <abstractions/dconf>
owner @{run}/user/[0-9]*/dconf/ rw,
owner @{run}/user/[0-9]*/dconf/user rw,
@{PROC}/sys/kernel/osrelease r,
@{PROC}/cmdline r,
2021-04-02 01:00:33 +02:00
include if exists <local/evolution-source-registry>
}