diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-03 18:34:55 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-03 19:13:46 +0900 |
| commit | 7b416d47dcb830aab5daa432cf79af5f8bbacaef (patch) | |
| tree | dc6ca9d3cfde243d0659d0cb29fde2d9ee134d12 /helper | |
| parent | 15170735badf9c8c8f13840efcb70bf7ba192b4d (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'helper')
| -rw-r--r-- | helper/container_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) }) }) |
