[1.13] Allow sync_file_range2 on supported architectures.
| ... | ... |
@@ -417,8 +417,23 @@ |
| 417 | 417 |
}, |
| 418 | 418 |
{
|
| 419 | 419 |
"names": [ |
| 420 |
+ "sync_file_range2" |
|
| 421 |
+ ], |
|
| 422 |
+ "action": "SCMP_ACT_ALLOW", |
|
| 423 |
+ "args": [], |
|
| 424 |
+ "comment": "", |
|
| 425 |
+ "includes": {
|
|
| 426 |
+ "arches": [ |
|
| 427 |
+ "ppc64le" |
|
| 428 |
+ ] |
|
| 429 |
+ }, |
|
| 430 |
+ "excludes": {}
|
|
| 431 |
+ }, |
|
| 432 |
+ {
|
|
| 433 |
+ "names": [ |
|
| 420 | 434 |
"arm_fadvise64_64", |
| 421 | 435 |
"arm_sync_file_range", |
| 436 |
+ "sync_file_range2", |
|
| 422 | 437 |
"breakpoint", |
| 423 | 438 |
"cacheflush", |
| 424 | 439 |
"set_tls" |
| ... | ... |
@@ -390,8 +390,19 @@ func DefaultProfile() *types.Seccomp {
|
| 390 | 390 |
}, |
| 391 | 391 |
{
|
| 392 | 392 |
Names: []string{
|
| 393 |
+ "sync_file_range2", |
|
| 394 |
+ }, |
|
| 395 |
+ Action: types.ActAllow, |
|
| 396 |
+ Args: []*types.Arg{},
|
|
| 397 |
+ Includes: types.Filter{
|
|
| 398 |
+ Arches: []string{"ppc64le"},
|
|
| 399 |
+ }, |
|
| 400 |
+ }, |
|
| 401 |
+ {
|
|
| 402 |
+ Names: []string{
|
|
| 393 | 403 |
"arm_fadvise64_64", |
| 394 | 404 |
"arm_sync_file_range", |
| 405 |
+ "sync_file_range2", |
|
| 395 | 406 |
"breakpoint", |
| 396 | 407 |
"cacheflush", |
| 397 | 408 |
"set_tls", |