Seccomp
Cheat sheet · https://pcornel.dk/topic.php?topic=5042
Answer
Seccomp filters which system calls a process may make. Container runtimes apply a default profile blocking dangerous syscalls; custom profiles can restrict an application even further.
Remember
- Default seccomp profiles block dangerous syscalls.
- Custom profiles can be stricter.
- Unconfined seccomp removes protection.
First checks
kubectl get pod <p> -o jsonpath='{..seccompProfile}'— seccomp profiledocker inspect <c> --format '{{.HostConfig.SecurityOpt}}'— Dockergrep Seccomp /proc/<pid>/status— mode 2 = filtering
Verify in this order
syscall → seccomp filter → allow/deny
Where it usually breaks
First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5042