mirror of https://github.com/docker/docs.git
Merge pull request #18971 from justincormack/ptrace
Block additional ptrace related syscalls in default seccomp profile
This commit is contained in:
commit
e01cab1cc5
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue