Forráskód Böngészése

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 éve
szülő
commit
a8bd5c65cc
1 módosított fájl, 8 hozzáadás és 0 törlés
  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",
 			"action": "SCMP_ACT_ERRNO"
+		},
+		{
+			"name":"fchmod",
+			"action": "SCMP_ACT_ERRNO"
+		},
+		{
+			"name": "fchmodat",
+			"action":"SCMP_ACT_ERRNO"
 		}
 	]
 }`