aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-16 00:27:00 +0900
committerOphestra <cat@gensokyo.uk>2025-10-16 00:27:00 +0900
commit425421d9b1641036d300dc965e597ec6c7648537 (patch)
treeba983b29cf32ecc9d4ae6306f96935d9742af45b /hst
parent5e0f15d76b876a039d94dcd4c628cc38dc02a698 (diff)
hst/container: rename constants
The shim is an implementation detail and should not be mentioned in the API. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst')
-rw-r--r--hst/container.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/hst/container.go b/hst/container.go
index 08fb8fa4..94017bf8 100644
--- a/hst/container.go
+++ b/hst/container.go
@@ -27,22 +27,22 @@ const (
)
const (
- // ShimExitFailure is returned if the container fails to start.
- ShimExitFailure = iota + 1
- // ShimExitCancel is returned if the container is terminated by a shim-directed signal which cancels its context.
- ShimExitCancel
- // ShimExitOrphan is returned when the shim is orphaned before priv side delivers a signal.
- ShimExitOrphan
+ // ExitFailure is returned if the container fails to start.
+ ExitFailure = iota + 1
+ // ExitCancel is returned if the container is terminated by a shim-directed signal which cancels its context.
+ ExitCancel
+ // ExitOrphan is returned when the shim is orphaned before priv side delivers a signal.
+ ExitOrphan
- // ShimExitRequest is returned when the priv side process requests shim exit.
- ShimExitRequest = 254
+ // ExitRequest is returned when the priv side process requests shim exit.
+ ExitRequest = 254
)
const (
// FMultiarch unblocks syscalls required for multiarch to work on applicable targets.
FMultiarch uintptr = 1 << iota
- // FSeccompCompat causes emitted seccomp filter programs to be identical to Flatpak.
+ // FSeccompCompat changes emitted seccomp filter programs to be identical to that of Flatpak.
FSeccompCompat
// FDevel unblocks ptrace and friends.
FDevel