diff options
Diffstat (limited to 'container/fhs')
| -rw-r--r-- | container/fhs/abs.go | 2 | ||||
| -rw-r--r-- | container/fhs/fhs.go | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/container/fhs/abs.go b/container/fhs/abs.go index fda6971d..45c50bfd 100644 --- a/container/fhs/abs.go +++ b/container/fhs/abs.go @@ -42,6 +42,8 @@ var ( AbsDevShm = unsafeAbs(DevShm) // AbsProc is [Proc] as [check.Absolute]. AbsProc = unsafeAbs(Proc) + // AbsProcSelfExe is [ProcSelfExe] as [check.Absolute]. + AbsProcSelfExe = unsafeAbs(ProcSelfExe) // AbsSys is [Sys] as [check.Absolute]. AbsSys = unsafeAbs(Sys) ) diff --git a/container/fhs/fhs.go b/container/fhs/fhs.go index e0c1d861..6d098d0c 100644 --- a/container/fhs/fhs.go +++ b/container/fhs/fhs.go @@ -41,6 +41,10 @@ const ( // ProcSys points to a hierarchy below /proc/ that exposes a number of // kernel tunables. ProcSys = Proc + "sys/" + // ProcSelf resolves to the process's own /proc/pid directory. + ProcSelf = Proc + "self/" + // ProcSelfExe is a symbolic link to program pathname. + ProcSelfExe = ProcSelf + "exe" // Sys points to a virtual kernel file system exposing discovered devices // and other functionality. Sys = "/sys/" |
