52 lines
1.6 KiB
Text
52 lines
1.6 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} = @{lib}/{,evolution-data-server/}evolution-addressbook-factory
|
|
profile evolution-addressbook-factory @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dbus-network-manager-strict>
|
|
include <abstractions/dbus-session-strict>
|
|
include <abstractions/dbus-strict>
|
|
include <abstractions/dconf-write>
|
|
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,
|
|
|
|
dbus send bus=system path=/org/freedesktop/NetworkManager
|
|
interface=org.freedesktop.DBus.Properties
|
|
member=GetAll,
|
|
|
|
dbus send bus=system path=/org/freedesktop/locale[0-9]
|
|
interface=org.freedesktop.DBus.Properties
|
|
member=GetAll,
|
|
|
|
dbus receive bus=system path=/org/freedesktop/NetworkManager
|
|
interface=org.freedesktop.NetworkManager
|
|
member={CheckPermissions,StateChanged,DeviceAdded,DeviceRemoved}
|
|
peer=(name=:*, label=NetworkManager),
|
|
|
|
@{exec_path} mr,
|
|
@{exec_path}-subprocess rix,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
/usr/share/icu/@{int}.@{int}/*.dat r,
|
|
|
|
owner @{user_share_dirs}/evolution/{,**} rwk,
|
|
owner @{user_cache_dirs}/evolution/addressbook/{,**} rwk,
|
|
|
|
@{PROC}/sys/kernel/osrelease r,
|
|
@{PROC}/cmdline r,
|
|
|
|
include if exists <local/evolution-addressbook-factory>
|
|
}
|