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 --- ldd/exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldd/exec.go') diff --git a/ldd/exec.go b/ldd/exec.go index c1593680..538d5446 100644 --- a/ldd/exec.go +++ b/ldd/exec.go @@ -28,7 +28,7 @@ func Exec(ctx context.Context, p string) ([]*Entry, error) { stdout, stderr := new(bytes.Buffer), new(bytes.Buffer) z.Stdout = stdout z.Stderr = stderr - z.Bind("/", "/", 0).Proc("/proc").Dev("/dev") + z.Bind("/", "/", 0).Proc("/proc").Dev("/dev", false) if err := z.Start(); err != nil { return nil, err -- cgit v1.3.1