apparmor.d/apparmor.d/groups/gnome/gnome-contacts-search-provider

33 lines
870 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{lib}/gnome-contacts-search-provider
profile gnome-contacts-search-provider @{exec_path} {
include <abstractions/base>
include <abstractions/bus-session>
include <abstractions/dconf-write>
include <abstractions/gnome-strict>
include <abstractions/graphics>
signal (send) set=(term) peer=unconfined,
# dbus own bus=session name=org.gnome.Contacts.SearchProvider
@{exec_path} mr,
owner @{user_share_dirs}/folks/{,**/} rw,
owner @{user_share_dirs}/folks/relationships.ini rw,
owner @{user_cache_dirs}/folks/{,**/} rw,
owner @{PROC}/@{pid}/cmdline r,
include if exists <local/gnome-contacts-search-provider>
}
# vim:syntax=apparmor