apparmor.d/apparmor.d/profiles-g-l/gpu-manager
REmerald 7541a24f3c fix(profiles-g-l): move vim modeline
Move vim syntax comment to the end of the file, separated by newline, as requested in #380.
2024-06-15 17:18:03 +03:00

38 lines
734 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/gpu-manager
profile gpu-manager @{exec_path} {
include <abstractions/base>
include <abstractions/graphics>
capability sys_admin,
capability syslog,
@{exec_path} mr,
@{sh_path} rix,
@{bin}/grep rix,
/etc/modprobe.d/{,**} r,
/usr/lib/modprobe.d/{,**} r,
/var/lib/ubuntu-drivers-common/* rw,
/var/log/gpu-manager.log w,
@{sys}/devices/@{pci}/boot_vga r,
@{sys}/module/compression r,
@{PROC}/modules r,
@{PROC}/cmdline r,
include if exists <local/gpu-manager>
}
# vim:syntax=apparmor