Skip to content

Commit

Permalink
Merge pull request #47829 from vvoland/v26.1-47749
Browse files Browse the repository at this point in the history
[26.1 backport] apparmor: Allow confined runc to kill containers
  • Loading branch information
thaJeztah committed May 14, 2024
2 parents ef1912d + 76fcf9a commit 73511cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions profiles/apparmor/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ profile {{.Name}} flags=(attach_disconnected,mediate_deleted) {
umount,
# Host (privileged) processes may send signals to container processes.
signal (receive) peer=unconfined,
# runc may send signals to container processes (for "docker stop").
signal (receive) peer=runc,
# crun may send signals to container processes (for "docker stop" when used with crun OCI runtime).
signal (receive) peer=crun,
# dockerd may send signals to container processes (for "docker kill").
signal (receive) peer={{.DaemonProfile}},
# Container processes may send signals amongst themselves.
Expand Down

0 comments on commit 73511cd

Please sign in to comment.