mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-29 22:35:15 +01:00
33 lines
870 B
Text
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
|