40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# 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-calendar-factory
|
|
profile evolution-calendar-factory @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dconf>
|
|
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,
|
|
@{exec_path}-subprocess rix,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
|
|
owner @{user_share_dirs}/evolution/calendar/{,**} rwk,
|
|
owner @{user_share_dirs}/evolution/tasks/system/tasks.ics r,
|
|
owner @{user_cache_dirs}/evolution/calendar/{,**} rwk,
|
|
owner @{user_cache_dirs}/evolution/tasks/{,**} rwk,
|
|
|
|
owner @{run}/user/@{uid}/dconf/ rw,
|
|
owner @{run}/user/@{uid}/dconf/user rw,
|
|
|
|
@{PROC}/sys/kernel/osrelease r,
|
|
@{PROC}/cmdline r,
|
|
|
|
include if exists <local/evolution-calendar-factory>
|
|
}
|