Add fchmod and fchmodat to TestRunSeccompProfileDenyChmod

Signed-off-by: Lei Jitang <leijitang@huawei.com>
Upstream-commit: 8c179348c31392559d95481b47625769a7620a21
Component: engine
This commit is contained in:
Lei Jitang
2016-07-04 11:06:48 +00:00
parent 2b75e6b1f1
commit ad6ea85075
@@ -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"
}
]
}`