mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
Add ptrace subprofile
This commit is contained in:
parent
d6d9c943ae
commit
61eab33cd8
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,7 @@ profile k3s @{exec_path} flags=(complain) {
|
|||
capability sys_resource,
|
||||
|
||||
ptrace peer=@{profile_name},
|
||||
ptrace (read) peer=unconfined,
|
||||
ptrace (read) peer=cri-containerd.apparmor.d,
|
||||
ptrace (read) peer={cri-containerd.apparmor.d,k3s//xtables-nft-multi,unconfined},
|
||||
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
|
@ -149,6 +148,7 @@ profile k3s @{exec_path} flags=(complain) {
|
|||
@{sys}/module/apparmor/parameters/enabled r,
|
||||
|
||||
/dev/kmsg r,
|
||||
/dev/pts/[0-9]* rw,
|
||||
|
||||
profile xtables-nft-multi flags=(complain) {
|
||||
include <abstractions/base>
|
||||
|
|
Loading…
Reference in a new issue