59 lines
1.7 KiB
Text
59 lines
1.7 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}/goa-daemon
|
|
profile goa-daemon @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/bus-session>
|
|
include <abstractions/bus-system>
|
|
include <abstractions/bus/org.freedesktop.NetworkManager>
|
|
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 bind bus=session name=org.gnome.OnlineAccounts,
|
|
dbus receive bus=session path=/org/gnome/OnlineAccounts
|
|
interface=org.freedesktop.DBus.ObjectManager
|
|
peer=(name=:*),
|
|
|
|
dbus send bus=session path=/org/gnome/Identity
|
|
interface=org.freedesktop.DBus.ObjectManager
|
|
member=GetManagedObjects
|
|
peer=(name=:*, label=goa-identity-service),
|
|
dbus send bus=session path=/org/gnome/Identity/Manager
|
|
interface=org.freedesktop.DBus.Properties
|
|
member=GetAll
|
|
peer=(name=:*, label=goa-identity-service),
|
|
|
|
dbus receive bus=session
|
|
interface=org.freedesktop.DBus.Introspectable
|
|
member=Introspect
|
|
peer=(name=:*, label=gnome-shell),
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
|
|
/var/lib/gdm{3,}/.config/dconf/user r,
|
|
|
|
owner @{user_config_dirs}/goa-1.0/ rw,
|
|
owner @{user_config_dirs}/goa-1.0/accounts.conf* rw,
|
|
|
|
@{PROC}/sys/net/ipv6/conf/all/disable_ipv6 r,
|
|
|
|
include if exists <local/goa-daemon>
|
|
}
|