diff --git a/test/e2e/play_kube_test.go b/test/e2e/play_kube_test.go index ba663c0783..a084271a01 100644 --- a/test/e2e/play_kube_test.go +++ b/test/e2e/play_kube_test.go @@ -1518,7 +1518,7 @@ var ( defaultConfigMapName = "testConfigMap" defaultSecretName = "testSecret" defaultPVCName = "testPVC" - seccompLinkEPERM = []byte(`{"defaultAction":"SCMP_ACT_ALLOW","syscalls":[{"name":"link","action":"SCMP_ACT_ERRNO"}]}`) + seccompLinkEPERM = []byte(`{"defaultAction":"SCMP_ACT_ALLOW","syscalls":[{"names":["link","linkat"],"action":"SCMP_ACT_ERRNO"}]}`) // CPU Period in ms defaultCPUPeriod = 100 // Default secret in JSON. Note that the values ("foo" and "bar") are base64 encoded. diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index 192623f538..ad156911e8 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -400,7 +400,7 @@ var _ = Describe("Podman run", func() { }) forbidLinkSeccompProfile := func() string { - in := []byte(`{"defaultAction":"SCMP_ACT_ALLOW","syscalls":[{"name":"link","action":"SCMP_ACT_ERRNO"}]}`) + in := []byte(`{"defaultAction":"SCMP_ACT_ALLOW","syscalls":[{"names":["link","linkat"],"action":"SCMP_ACT_ERRNO"}]}`) jsonFile, err := podmanTest.CreateSeccompJSON(in) if err != nil { GinkgoWriter.Println(err)