mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
feat(profiles): add dell cctk.
This commit is contained in:
parent
471b544d99
commit
84ecf85c0b
2 changed files with 31 additions and 0 deletions
30
apparmor.d/profiles-a-f/cctk
Normal file
30
apparmor.d/profiles-a-f/cctk
Normal 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>
|
||||
}
|
|
@ -35,6 +35,7 @@ baloo complain
|
|||
baloorunner complain
|
||||
busctl complain
|
||||
cc-remote-login-helper complain
|
||||
cctk complain
|
||||
cfdisk complain
|
||||
cgdisk complain
|
||||
child-open complain
|
||||
|
|
Loading…
Reference in a new issue