mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 23:05:11 +01:00
33 lines
No EOL
755 B
Text
33 lines
No EOL
755 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2023 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}/firmware/dmi/tables/DMI r,
|
|
@{sys}/firmware/dmi/tables/smbios_entry_point r,
|
|
@{sys}/firmware/efi/systab r,
|
|
|
|
/dev/wmi/dell-smbios r,
|
|
|
|
include if exists <local/cctk>
|
|
} |