apparmor.d/apparmor.d/profiles-g-l/highlight

24 lines
521 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 valoq <valoq@mailbox.org>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/highlight
profile highlight @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/user-read-strict>
@{exec_path} mr,
/etc/machine-id r,
/etc/highlight/{,**} r,
/usr/share/highlight/{,**} r,
include if exists <local/highlight>
}
# vim:syntax=apparmor