瀏覽代碼

Add fchmod and fchmodat to TestRunSeccompProfileDenyChmod

Signed-off-by: Lei Jitang <leijitang@huawei.com>
(cherry picked from commit 8c179348c31392559d95481b47625769a7620a21)
Signed-off-by: Tibor Vass <tibor@docker.com>
Lei Jitang 9 年之前
父節點
當前提交
a8bd5c65cc
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      integration-cli/docker_cli_run_unix_test.go

+ 8 - 0
integration-cli/docker_cli_run_unix_test.go

@@ -955,6 +955,14 @@ func (s *DockerSuite) TestRunSeccompProfileDenyChmod(c *check.C) {
 		{
 		{
 			"name": "chmod",
 			"name": "chmod",
 			"action": "SCMP_ACT_ERRNO"
 			"action": "SCMP_ACT_ERRNO"
+		},
+		{
+			"name":"fchmod",
+			"action": "SCMP_ACT_ERRNO"
+		},
+		{
+			"name": "fchmodat",
+			"action":"SCMP_ACT_ERRNO"
 		}
 		}
 	]
 	]
 }`
 }`