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
More on Kernel Parameters, Namespaces & cgroups
What is sysctl and how do you make a change persistent?BeginnerWhy does Kubernetes require `net.ipv4.ip_forward=1` and `br_netfilter`?AdvancedAre sysctl settings global, or per namespace?AdvancedWhat are Linux namespaces? List all types.BeginnerHow do you create and enter namespaces by hand?AdvancedHow does a network namespace get connectivity?Advanced