From cd5959fe5ab04786cd5dee3cf09f725229ae7c7b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 17 Mar 2026 13:35:48 +0900 Subject: ext: isolate from container/std These are too general to belong in the container package. This targets the v0.4 release to reduce the wrapper maintenance burden. Signed-off-by: Ophestra --- container/container_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'container/container_test.go') diff --git a/container/container_test.go b/container/container_test.go index e00a63c7..65a620e6 100644 --- a/container/container_test.go +++ b/container/container_test.go @@ -25,6 +25,7 @@ import ( "hakurei.app/container/seccomp" "hakurei.app/container/std" "hakurei.app/container/vfs" + "hakurei.app/ext" "hakurei.app/hst" "hakurei.app/ldd" "hakurei.app/message" @@ -258,7 +259,7 @@ var containerTestCases = []struct { 1000, 100, nil, 0, std.PresetExt}, {"custom rules", true, true, true, false, emptyOps, emptyMnt, - 1, 31, []std.NativeRule{{Syscall: std.ScmpSyscall(syscall.SYS_SETUID), Errno: std.ScmpErrno(syscall.EPERM)}}, 0, std.PresetExt}, + 1, 31, []std.NativeRule{{Syscall: ext.SyscallNum(syscall.SYS_SETUID), Errno: std.ScmpErrno(syscall.EPERM)}}, 0, std.PresetExt}, {"tmpfs", true, false, false, true, earlyOps(new(container.Ops). -- cgit v1.3.1