From 7b416d47dcb830aab5daa432cf79af5f8bbacaef Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 3 Aug 2025 18:34:55 +0900 Subject: container/ops: merge mqueue and dev Ops There is no reason to mount mqueue anywhere else, and these Ops usually follow each other. This change merges them. This helps decrease IPC overhead and also enables mounting dev readonly. Signed-off-by: Ophestra --- helper/container_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helper') diff --git a/helper/container_test.go b/helper/container_test.go index c5ad0659..8be4bcbb 100644 --- a/helper/container_test.go +++ b/helper/container_test.go @@ -33,7 +33,7 @@ func TestContainer(t *testing.T) { testHelper(t, func(ctx context.Context, setOutput func(stdoutP, stderrP *io.Writer), stat bool) helper.Helper { return helper.New(ctx, os.Args[0], argsWt, stat, argF, func(z *container.Container) { setOutput(&z.Stdout, &z.Stderr) - z.Bind("/", "/", 0).Proc("/proc").Dev("/dev") + z.Bind("/", "/", 0).Proc("/proc").Dev("/dev", true) }, nil) }) }) -- cgit v1.3.1