Add and update CNI profiles
This commit is contained in:
parent
b1112e35a7
commit
6af5c76fb8
5 changed files with 40 additions and 4 deletions
18
apparmor.d/groups/virt/cni-host-local
Normal file
18
apparmor.d/groups/virt/cni-host-local
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2022 Jeroen Rijken
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/cni/host-local /opt/cni/bin/host-local
|
||||
profile cni-host-local @{exec_path} flags=(complain,attach_disconnected){
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
||||
|
||||
include if exists <local/cni-host-local>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue