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 --- container/fhs/abs.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'container/fhs/abs.go') diff --git a/container/fhs/abs.go b/container/fhs/abs.go index 9175c1fe..dfd3c04f 100644 --- a/container/fhs/abs.go +++ b/container/fhs/abs.go @@ -36,6 +36,8 @@ var ( // AbsDev is [Dev] as [check.Absolute]. AbsDev = unsafeAbs(Dev) + // AbsDevShm is [DevShm] as [check.Absolute]. + AbsDevShm = unsafeAbs(DevShm) // AbsProc is [Proc] as [check.Absolute]. AbsProc = unsafeAbs(Proc) // AbsSys is [Sys] as [check.Absolute]. -- cgit v1.3.1