diff --git a/components/engine/daemon/execdriver/native/seccomp_default.go b/components/engine/daemon/execdriver/native/seccomp_default.go index 94a8efbb63..da0ce1acca 100644 --- a/components/engine/daemon/execdriver/native/seccomp_default.go +++ b/components/engine/daemon/execdriver/native/seccomp_default.go @@ -117,6 +117,13 @@ var defaultSeccompProfile = &configs.Seccomp{ Action: configs.Errno, Args: []*configs.Arg{}, }, + { + // Restrict process inspection capabilities + // Already blocked by dropping CAP_PTRACE + Name: "kcmp", + Action: configs.Errno, + Args: []*configs.Arg{}, + }, { // Sister syscall of kexec_load that does the same thing, // slightly different arguments @@ -215,6 +222,20 @@ var defaultSeccompProfile = &configs.Seccomp{ Action: configs.Errno, Args: []*configs.Arg{}, }, + { + // Restrict process inspection capabilities + // Already blocked by dropping CAP_PTRACE + Name: "process_vm_readv", + Action: configs.Errno, + Args: []*configs.Arg{}, + }, + { + // Restrict process modification capabilities + // Already blocked by dropping CAP_PTRACE + Name: "process_vm_writev", + Action: configs.Errno, + Args: []*configs.Arg{}, + }, { // Already blocked by dropping CAP_PTRACE Name: "ptrace",