44 lines
1.3 KiB
Text
44 lines
1.3 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}/goa-daemon
|
|
profile goa-daemon @{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/opencl>
|
|
include <abstractions/openssl>
|
|
include <abstractions/p11-kit>
|
|
include <abstractions/ssl_certs>
|
|
|
|
network inet stream,
|
|
network inet6 stream,
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
network netlink raw,
|
|
|
|
dbus (send,receive) bus=system path=/org/freedesktop/NetworkManager
|
|
interface=org.freedesktop.DBus.Properties
|
|
member={PropertiesChanged,GetAll},
|
|
|
|
dbus receive bus=system path=/org/freedesktop/NetworkManager
|
|
interface=org.freedesktop.NetworkManager
|
|
member={CheckPermissions,StateChanged},
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
|
|
owner @{user_config_dirs}/goa-1.0/ rw,
|
|
owner @{user_config_dirs}/goa-1.0/accounts.conf* rw,
|
|
|
|
include if exists <local/goa-daemon>
|
|
}
|