apparmor.d/apparmor.d/profiles-a-f/cctk
REmerald 293217aee2
fix(profiles-a-f): move vim modeline
Move vim syntax comment to the end of the file, separated by newline, as requested in #380.
2024-06-15 21:59:31 +01:00

37 lines
846 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/cctk /opt/dell/dcc/cctk
profile cctk @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
capability mknod,
capability sys_admin,
capability sys_rawio,
@{exec_path} mr,
@{lib}/ r,
/opt/dell/dcc/*.so* mr,
/opt/dell/srvadmin/{,**} r,
/opt/dell/srvadmin/lib64/*.so* rm,
/opt/dell/srvadmin/var/lib/openmanage/.ipc/* rwk,
@{sys}/devices/platform/dcdbas/smi_data* rwk,
@{sys}/firmware/dmi/tables/DMI r,
@{sys}/firmware/dmi/tables/smbios_entry_point r,
@{sys}/firmware/efi/systab r,
/dev/mem r,
/dev/wmi/dell-smbios r,
include if exists <local/cctk>
}
# vim:syntax=apparmor