mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
The 'deny ptrace' statement was supposed to only ignore ptrace failures in the AUDIT log. However, ptrace was implicitly allowed from unconfined processes (such as the docker daemon and its integration tests) due to the abstractions/base include. This rule narrows the definition such that it will only ignore the failures originating inside of the container and will not cause denials when the daemon or its tests ptrace inside processes. Introduces positive and negative tests for ptrace /w apparmor. Signed-off-by: Eric Windisch <eric@windisch.us> Upstream-commit: f5c388b35a9ddd699b3dbbe85b80fa02234f8355 Component: engine