# 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-shell-hotplug-sniffer
profile gnome-shell-hotplug-sniffer @{exec_path} {
  include <abstractions/base>
  include <abstractions/bus-session>

  @{exec_path} mr,

  /usr/share/mime/mime.cache r,

  @{MOUNTS}/**/ r,
  @{MOUNTS}/** r,

  include if exists <local/gnome-shell-hotplug-sniffer>
}

# vim:syntax=apparmor
