mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add fchmod and fchmodat to TestRunSeccompProfileDenyChmod
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
parent
7b2c4df472
commit
8c179348c3
1 changed files with 8 additions and 0 deletions
|
@ -955,6 +955,14 @@ func (s *DockerSuite) TestRunSeccompProfileDenyChmod(c *check.C) {
|
|||
{
|
||||
"name": "chmod",
|
||||
"action": "SCMP_ACT_ERRNO"
|
||||
},
|
||||
{
|
||||
"name":"fchmod",
|
||||
"action": "SCMP_ACT_ERRNO"
|
||||
},
|
||||
{
|
||||
"name": "fchmodat",
|
||||
"action":"SCMP_ACT_ERRNO"
|
||||
}
|
||||
]
|
||||
}`
|
||||
|
|
Loading…
Reference in a new issue