Cleanup profiles according to standards part 1/2
This commit is contained in:
parent
1556e62e10
commit
2ffa3d1339
6 changed files with 58 additions and 49 deletions
14
apparmor.d/groups/virt/cni-loopback
Normal file
14
apparmor.d/groups/virt/cni-loopback
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{opt/,}{cni/,}bin/loopback
|
||||
profile loopback @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
{exec_path} rm,
|
||||
|
||||
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
||||
|
||||
include if exists <local/loopback>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue