apparmor.d/apparmor.d/groups/gnome/gsd-usb-protection
2024-03-21 23:03:08 +00:00

22 lines
573 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/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/gsd-usb-protection
profile gsd-usb-protection @{exec_path} {
include <abstractions/base>
include <abstractions/bus-session>
include <abstractions/dconf-write>
#aa:dbus own bus=session name=org.gnome.SettingsDaemon.UsbProtection
@{exec_path} mr,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
include if exists <local/gsd-usb-protection>
}