apparmor.d/apparmor.d/profiles-a-f/cctk

38 lines
846 B
Text
Raw Normal View History

2023-10-26 23:40:21 +02:00
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
2023-10-26 23:40:21 +02:00
# 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,
2023-11-09 18:31:45 +01:00
capability sys_admin,
2023-10-26 23:40:21 +02:00
capability sys_rawio,
@{exec_path} mr,
@{lib}/ r,
/opt/dell/dcc/*.so* mr,
/opt/dell/srvadmin/{,**} r,
2023-11-09 18:31:45 +01:00
/opt/dell/srvadmin/lib64/*.so* rm,
/opt/dell/srvadmin/var/lib/openmanage/.ipc/* rwk,
2023-10-26 23:40:21 +02:00
2024-03-15 17:07:53 +01:00
@{sys}/devices/platform/dcdbas/smi_data* rwk,
2023-10-26 23:40:21 +02:00
@{sys}/firmware/dmi/tables/DMI r,
@{sys}/firmware/dmi/tables/smbios_entry_point r,
@{sys}/firmware/efi/systab r,
2024-03-15 17:07:53 +01:00
/dev/mem r,
2023-10-26 23:40:21 +02:00
/dev/wmi/dell-smbios r,
include if exists <local/cctk>
}
# vim:syntax=apparmor