Sfoglia il codice sorgente

Merge pull request #24299 from coolljt0725/chmod_syscall

Add fchmod and fchmodat to TestRunSeccompProfileDenyChmod
Antonio Murdaca 9 anni fa
parent
commit
8b2597b3fa
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  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"
 		}
 		}
 	]
 	]
 }`
 }`