`chmod` is a legacy syscall, and not present on arm64, which
caused this test to fail.
Add `fchmodat` to the profile so that this test can run both
on x64 and arm64.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 4bd8964b23f616a1aef63ea0acebbdc4b6ea90e6)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -1544,6 +1544,10 @@ func (s *DockerDaemonSuite) TestRunWithDaemonDefaultSeccompProfile(c *check.C) {
|
| 1544 | 1544 |
{
|
| 1545 | 1545 |
"name": "chmod", |
| 1546 | 1546 |
"action": "SCMP_ACT_ERRNO" |
| 1547 |
+ }, |
|
| 1548 |
+ {
|
|
| 1549 |
+ "name": "fchmodat", |
|
| 1550 |
+ "action": "SCMP_ACT_ERRNO" |
|
| 1547 | 1551 |
} |
| 1548 | 1552 |
] |
| 1549 | 1553 |
}` |