Update TestRunWithDaemonDefaultSeccompProfile for ARM64
`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 4bd8964b23
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
55c5381584
commit
79ac8f95af
1 changed files with 4 additions and 0 deletions
|
@ -1544,6 +1544,10 @@ func (s *DockerDaemonSuite) TestRunWithDaemonDefaultSeccompProfile(c *check.C) {
|
||||||
{
|
{
|
||||||
"name": "chmod",
|
"name": "chmod",
|
||||||
"action": "SCMP_ACT_ERRNO"
|
"action": "SCMP_ACT_ERRNO"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fchmodat",
|
||||||
|
"action": "SCMP_ACT_ERRNO"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}`
|
}`
|
||||||
|
|
Loading…
Reference in a new issue