Interview Prep/Linux/Kernel Parameters, Namespaces & cgroups

What is seccomp?

AdvancedConceptKernel Parameters, Namespaces & cgroups
Answer

seccomp-bpf lets a process install a filter that allows, denies or logs individual system calls; once set it cannot be removed and is inherited by children. Docker and containerd apply a default profile that blocks around 40+ dangerous syscalls (kexec_load, mount without privileges, bpf, add_key, ...). Kubernetes: securityContext.seccompProfile.type: RuntimeDefault. systemd services can use SystemCallFilter=@system-service.

grep Seccomp /proc/self/status
All Linux questions Roadmap: Linux

More on Kernel Parameters, Namespaces & cgroups