aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/fhs
diff options
context:
space:
mode:
Diffstat (limited to 'container/fhs')
-rw-r--r--container/fhs/abs.go2
-rw-r--r--container/fhs/fhs.go2
2 files changed, 4 insertions, 0 deletions
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].
diff --git a/container/fhs/fhs.go b/container/fhs/fhs.go
index 6a3a3041..7e0d36c7 100644
--- a/container/fhs/fhs.go
+++ b/container/fhs/fhs.go
@@ -29,6 +29,8 @@ const (
// Dev points to the root directory for device nodes.
Dev = "/dev/"
+ // DevShm is the place for POSIX shared memory segments, as created via shm_open(3).
+ DevShm = "/dev/shm/"
// Proc points to a virtual kernel file system exposing the process list and other functionality.
Proc = "/proc/"
// ProcSys points to a hierarchy below /proc/ that exposes a number of kernel tunables.