From 4c647add0db06cc7a28571aee7502737f0d66b27 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 14 Oct 2025 06:37:24 +0900 Subject: hst/container: pack boolean options The memory saving is relatively insignificant, however this increases serialisation efficiency. Signed-off-by: Ophestra --- internal/app/outcome.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/app/outcome.go') diff --git a/internal/app/outcome.go b/internal/app/outcome.go index e294d948..f2c96e83 100644 --- a/internal/app/outcome.go +++ b/internal/app/outcome.go @@ -94,7 +94,7 @@ func newOutcomeState(k syscallDispatcher, msg message.Msg, id *state.ID, config s.Shim.WaitDelay = s.Container.WaitDelay } - if s.Container.MapRealUID { + if s.Container.Flags&hst.FMapRealUID != 0 { s.Mapuid, s.Mapgid = k.getuid(), k.getgid() } else { s.Mapuid, s.Mapgid = k.overflowUid(msg), k.overflowGid(msg) -- cgit v1.3.1