From 6d14bb814f276fd61ca3ff75cb279815cf1bb95d Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 14 Nov 2025 01:03:26 +0900 Subject: container/fhs: add constant for /dev/shm/ This is mounted for the default read-only /dev/ when programs want to use shm_open(3). Defining it here is less error-prone and saves the extra append at runtime. Signed-off-by: Ophestra --- internal/outcome/shim_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/outcome/shim_test.go') diff --git a/internal/outcome/shim_test.go b/internal/outcome/shim_test.go index c18e1f96..147607fa 100644 --- a/internal/outcome/shim_test.go +++ b/internal/outcome/shim_test.go @@ -66,7 +66,7 @@ func TestShimEntrypoint(t *testing.T) { Proc(fhs.AbsProc). Tmpfs(hst.AbsPrivateTmp, 1<<12, 0755). Bind(fhs.AbsDev, fhs.AbsDev, std.BindWritable|std.BindDevice). - Tmpfs(fhs.AbsDev.Append("shm"), 0, 01777). + Tmpfs(fhs.AbsDevShm, 0, 01777). // spRuntimeOp Tmpfs(fhs.AbsRunUser, 1<<12, 0755). -- cgit v1.3.1