From e94acc424c5746eb6cf903ed97b4e71223fda50f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 21 Oct 2025 20:54:03 +0900 Subject: container/comp: rename from bits This package will also hold syscall lookup tables for seccomp. Signed-off-by: Ophestra --- internal/app/spruntime_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'internal/app/spruntime_test.go') diff --git a/internal/app/spruntime_test.go b/internal/app/spruntime_test.go index 493e66a3..1675a7e5 100644 --- a/internal/app/spruntime_test.go +++ b/internal/app/spruntime_test.go @@ -4,7 +4,7 @@ import ( "testing" "hakurei.app/container" - "hakurei.app/container/bits" + "hakurei.app/container/comp" "hakurei.app/container/fhs" "hakurei.app/container/stub" "hakurei.app/hst" @@ -41,7 +41,7 @@ func TestSpRuntimeOp(t *testing.T) { }, &container.Params{ Ops: new(container.Ops). Tmpfs(fhs.AbsRunUser, 1<<12, 0755). - Bind(m("/proc/nonexistent/tmp/hakurei.0/runtime/9"), m("/run/user/1000"), bits.BindWritable), + Bind(m("/proc/nonexistent/tmp/hakurei.0/runtime/9"), m("/run/user/1000"), comp.BindWritable), }, paramsWantEnv(config, map[string]string{ "XDG_RUNTIME_DIR": "/run/user/1000", "XDG_SESSION_CLASS": "user", @@ -68,7 +68,7 @@ func TestSpRuntimeOp(t *testing.T) { }, &container.Params{ Ops: new(container.Ops). Tmpfs(fhs.AbsRunUser, 1<<12, 0755). - Bind(m("/proc/nonexistent/tmp/hakurei.0/runtime/9"), m("/run/user/1000"), bits.BindWritable), + Bind(m("/proc/nonexistent/tmp/hakurei.0/runtime/9"), m("/run/user/1000"), comp.BindWritable), }, paramsWantEnv(config, map[string]string{ "XDG_RUNTIME_DIR": "/run/user/1000", "XDG_SESSION_CLASS": "user", @@ -95,7 +95,7 @@ func TestSpRuntimeOp(t *testing.T) { }, &container.Params{ Ops: new(container.Ops). Tmpfs(fhs.AbsRunUser, 1<<12, 0755). - Bind(m("/proc/nonexistent/tmp/hakurei.0/runtime/9"), m("/run/user/1000"), bits.BindWritable), + Bind(m("/proc/nonexistent/tmp/hakurei.0/runtime/9"), m("/run/user/1000"), comp.BindWritable), }, paramsWantEnv(config, map[string]string{ "XDG_RUNTIME_DIR": "/run/user/1000", "XDG_SESSION_CLASS": "user", @@ -118,7 +118,7 @@ func TestSpRuntimeOp(t *testing.T) { }, &container.Params{ Ops: new(container.Ops). Tmpfs(fhs.AbsRunUser, 1<<12, 0755). - Bind(m("/proc/nonexistent/tmp/hakurei.0/runtime/9"), m("/run/user/1000"), bits.BindWritable), + Bind(m("/proc/nonexistent/tmp/hakurei.0/runtime/9"), m("/run/user/1000"), comp.BindWritable), }, paramsWantEnv(config, map[string]string{ "XDG_RUNTIME_DIR": "/run/user/1000", "XDG_SESSION_CLASS": "user", -- cgit v1.3.1