# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2026 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# NEEDS-VARIABLE: path

# Allow operating as a search provider.
#
# The `@{path}` variable must be defined in the preamble to allow the profile
# to operate as the specified search provider.
#
# E.g.
# ```
# @{path} = /org/gnome/seahorse
# ```

  abi <abi/4.0>,

    include <abstractions/bus/session/org.gnome.Shell.SearchProvider2>

  include if exists <abstractions/search-provider.d>

# vim:syntax=apparmor
