40 lines
1.2 KiB
Text
40 lines
1.2 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-identity-service
|
|
profile goa-identity-service @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/authentication>
|
|
include <abstractions/dbus-session-strict>
|
|
|
|
dbus receive bus=session path=/org/gnome/Identity
|
|
interface=org.freedesktop.DBus.ObjectManager
|
|
member=GetManagedObjects
|
|
peer=(name=:*, label=goa-daemon),
|
|
|
|
dbus send bus=session path=/org/gnome/OnlineAccounts
|
|
interface=org.freedesktop.DBus.ObjectManager
|
|
member=GetManagedObjects
|
|
peer=(name=:*, label=goa-daemon),
|
|
|
|
dbus receive bus=session
|
|
interface=org.freedesktop.DBus.Introspectable
|
|
member=Introspect
|
|
peer=(name=:*, label=gnome-shell),
|
|
|
|
dbus receive bus=session path=/org/gnome/Identity/Manager
|
|
interface=org.freedesktop.DBus.Properties
|
|
member=GetAll
|
|
peer=(name=:*, label=goa-daemon),
|
|
|
|
dbus bind bus=session name=org.gnome.Identity,
|
|
|
|
@{exec_path} mr,
|
|
|
|
include if exists <local/goa-identity-service>
|
|
}
|