mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #42083 from clubby789/enable_process_vm
Enable `process_vm_readv` and `process_vm_writev` for kernel >= 4.8
This commit is contained in:
commit
4bbc52c04b
2 changed files with 7 additions and 1 deletions
|
@ -401,6 +401,8 @@
|
|||
},
|
||||
{
|
||||
"names": [
|
||||
"process_vm_readv",
|
||||
"process_vm_writev",
|
||||
"ptrace"
|
||||
],
|
||||
"action": "SCMP_ACT_ALLOW",
|
||||
|
|
|
@ -390,7 +390,11 @@ func DefaultProfile() *Seccomp {
|
|||
Args: []*specs.LinuxSeccompArg{},
|
||||
},
|
||||
{
|
||||
Names: []string{"ptrace"},
|
||||
Names: []string{
|
||||
"process_vm_readv",
|
||||
"process_vm_writev",
|
||||
"ptrace",
|
||||
},
|
||||
Action: specs.ActAllow,
|
||||
Includes: Filter{
|
||||
MinKernel: &KernelVersion{4, 8},
|
||||
|
|
Loading…
Reference in a new issue