aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/stub
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-10 20:35:59 +0900
committerOphestra <cat@gensokyo.uk>2025-11-10 20:35:59 +0900
commit2f74adc8bdeda2499be0a8b2711f68c342695bf2 (patch)
tree4a4b4f0899e0d56b3ca5c228298f978bc1f984bb /container/stub
parentd7e0104ae4da25f455630aae044adf165201c9b5 (diff)
container/init: close initial process files on termination
This closes them during the adopt wait delay. This also keeps them alive. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/stub')
-rw-r--r--container/stub/exit_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/stub/exit_test.go b/container/stub/exit_test.go
index 5d850759..e4c4f962 100644
--- a/container/stub/exit_test.go
+++ b/container/stub/exit_test.go
@@ -2,7 +2,7 @@ package stub_test
import (
"testing"
- _ "unsafe"
+ _ "unsafe" // for go:linkname
"hakurei.app/container/stub"
)