apparmor.d/apparmor.d/groups/gnome/gnome-shell-hotplug-sniffer

21 lines
484 B
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} = @{libexec}/gnome-shell-hotplug-sniffer
profile gnome-shell-hotplug-sniffer @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
/usr/share/mime/mime.cache r,
owner @{MOUNTS}/**/ r,
owner @{MOUNTS}/** r,
include if exists <local/gnome-shell-hotplug-sniffer>
}