mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #30971 from dargor/allow_sync_file_range2
Allow sync_file_range2 on supported architectures.
This commit is contained in:
commit
3b5ed562fc
2 changed files with 26 additions and 0 deletions
|
@ -630,10 +630,25 @@
|
||||||
"includes": {},
|
"includes": {},
|
||||||
"excludes": {}
|
"excludes": {}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"names": [
|
||||||
|
"sync_file_range2"
|
||||||
|
],
|
||||||
|
"action": "SCMP_ACT_ALLOW",
|
||||||
|
"args": [],
|
||||||
|
"comment": "",
|
||||||
|
"includes": {
|
||||||
|
"arches": [
|
||||||
|
"ppc64le"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"excludes": {}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"names": [
|
"names": [
|
||||||
"arm_fadvise64_64",
|
"arm_fadvise64_64",
|
||||||
"arm_sync_file_range",
|
"arm_sync_file_range",
|
||||||
|
"sync_file_range2",
|
||||||
"breakpoint",
|
"breakpoint",
|
||||||
"cacheflush",
|
"cacheflush",
|
||||||
"set_tls"
|
"set_tls"
|
||||||
|
|
|
@ -533,10 +533,21 @@ func DefaultProfile() *types.Seccomp {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Names: []string{
|
||||||
|
"sync_file_range2",
|
||||||
|
},
|
||||||
|
Action: types.ActAllow,
|
||||||
|
Args: []*types.Arg{},
|
||||||
|
Includes: types.Filter{
|
||||||
|
Arches: []string{"ppc64le"},
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Names: []string{
|
Names: []string{
|
||||||
"arm_fadvise64_64",
|
"arm_fadvise64_64",
|
||||||
"arm_sync_file_range",
|
"arm_sync_file_range",
|
||||||
|
"sync_file_range2",
|
||||||
"breakpoint",
|
"breakpoint",
|
||||||
"cacheflush",
|
"cacheflush",
|
||||||
"set_tls",
|
"set_tls",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue