diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-13 07:08:07 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-13 07:14:16 +0900 |
| commit | abeb67964f52f245f7d529e4dfe01f8347932bfd (patch) | |
| tree | b2e00cedab6721261098dee789360571bdefa0cf /container/fhs | |
| parent | bf5d10743f82ea438b1a05939f55d8b0027e98b9 (diff) | |
treewide: document linkname uses
These provide justification for each use of linkname. Poorly thought out uses of linkname are removed.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/fhs')
| -rw-r--r-- | container/fhs/abs.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/container/fhs/abs.go b/container/fhs/abs.go index 6bb72166..9175c1fe 100644 --- a/container/fhs/abs.go +++ b/container/fhs/abs.go @@ -8,8 +8,10 @@ import ( /* constants in this file bypass abs check, be extremely careful when changing them! */ +// unsafeAbs returns check.Absolute on any string value. +// //go:linkname unsafeAbs hakurei.app/container/check.unsafeAbs -func unsafeAbs(_ string) *check.Absolute +func unsafeAbs(pathname string) *check.Absolute var ( // AbsRoot is [Root] as [check.Absolute]. |
