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>
|
|
|
|
|
2022-05-07 12:35:21 +02:00
|
|
|
@{exec_path} = @{libexec}/evolution-source-registry
|
2021-04-02 01:00:33 +02:00
|
|
|
profile evolution-source-registry @{exec_path} {
|
|
|
|
include <abstractions/base>
|
2022-04-26 23:05:29 +02:00
|
|
|
include <abstractions/dconf>
|
2021-04-02 01:00:33 +02:00
|
|
|
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,
|
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,
|
|
|
|
|
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,
|
|
|
|
owner @{user_share_dirs}/gvfs-metadata/{,*} r,
|
|
|
|
owner @{user_cache_dirs}/evolution/{,**} rwk,
|
|
|
|
|
2021-04-18 20:00:15 +02:00
|
|
|
owner @{run}/user/@{uid}/dconf/ rw,
|
|
|
|
owner @{run}/user/@{uid}/dconf/user rw,
|
2021-04-02 01:00:33 +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>
|
|
|
|
}
|