From 1b5d20a39b2c5720d83a8eaf3d2227deb46a7c0d Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 2 Sep 2025 04:44:08 +0900 Subject: container/dispatcher: stub.Call initialisation helper function This keeps composites analysis happy without making the test cases (too) bloated. Signed-off-by: Ophestra --- container/container_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container/container_test.go') diff --git a/container/container_test.go b/container/container_test.go index c7f78aac..0b6cdf51 100644 --- a/container/container_test.go +++ b/container/container_test.go @@ -214,7 +214,7 @@ var containerTestCases = []struct { 1000, 100, nil, 0, seccomp.PresetExt}, {"custom rules", true, true, true, false, emptyOps, emptyMnt, - 1, 31, []seccomp.NativeRule{{seccomp.ScmpSyscall(syscall.SYS_SETUID), seccomp.ScmpErrno(syscall.EPERM), nil}}, 0, seccomp.PresetExt}, + 1, 31, []seccomp.NativeRule{{Syscall: seccomp.ScmpSyscall(syscall.SYS_SETUID), Errno: seccomp.ScmpErrno(syscall.EPERM)}}, 0, seccomp.PresetExt}, {"tmpfs", true, false, false, true, earlyOps(new(container.Ops). -- cgit v1.3.1