feat(profiles): add dell cctk.

This commit is contained in:
Alexandre Pujol 2023-10-26 22:40:21 +01:00
parent 471b544d99
commit 84ecf85c0b
Failed to generate hash of commit
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,30 @@
# 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_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 <local/cctk>
}

View file

@ -35,6 +35,7 @@ baloo complain
baloorunner complain
busctl complain
cc-remote-login-helper complain
cctk complain
cfdisk complain
cgdisk complain
child-open complain