diff --git a/apparmor.d/profiles-a-f/cctk b/apparmor.d/profiles-a-f/cctk new file mode 100644 index 00000000..6bb31c6c --- /dev/null +++ b/apparmor.d/profiles-a-f/cctk @@ -0,0 +1,30 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2023 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{bin}/cctk /opt/dell/dcc/cctk +profile cctk @{exec_path} { + include + include + + capability mknod, + capability sys_rawio, + + @{exec_path} mr, + + @{lib}/ r, + /opt/dell/dcc/*.so* mr, + /opt/dell/srvadmin/{,**} r, + + @{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 +} \ No newline at end of file diff --git a/dists/flags/main.flags b/dists/flags/main.flags index c432c26d..f23518dc 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -35,6 +35,7 @@ baloo complain baloorunner complain busctl complain cc-remote-login-helper complain +cctk complain cfdisk complain cgdisk complain child-open complain