aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper/cmd.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-06-25 03:59:52 +0900
committerOphestra <cat@gensokyo.uk>2025-06-25 04:57:41 +0900
commit87e008d56de974947ebb99c2cc40b25d3c2cf43e (patch)
tree31791911e5226d6ec04e3fac7d91b0bf53e63aa5 /helper/cmd.go
parent399207321265307bb15f37d867f9370cd51c82a8 (diff)
treewide: rename to hakurei
Fortify makes little sense for a container tool. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper/cmd.go')
-rw-r--r--helper/cmd.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/helper/cmd.go b/helper/cmd.go
index bfdd3484..55fd52e7 100644
--- a/helper/cmd.go
+++ b/helper/cmd.go
@@ -10,7 +10,7 @@ import (
"sync"
"syscall"
- "git.gensokyo.uk/security/fortify/helper/proc"
+ "git.gensokyo.uk/security/hakurei/helper/proc"
)
// NewDirect initialises a new direct Helper instance with wt as the null-terminated argument writer.
@@ -67,17 +67,17 @@ func (h *helperCmd) Start() error {
h.Env = slices.Grow(h.Env, 2)
if h.useArgsFd {
- h.Env = append(h.Env, FortifyHelper+"=1")
+ h.Env = append(h.Env, HakureiHelper+"=1")
} else {
- h.Env = append(h.Env, FortifyHelper+"=0")
+ h.Env = append(h.Env, HakureiHelper+"=0")
}
if h.useStatFd {
- h.Env = append(h.Env, FortifyStatus+"=1")
+ h.Env = append(h.Env, HakureiStatus+"=1")
// stat is populated on fulfill
h.Cancel = func() error { return h.stat.Close() }
} else {
- h.Env = append(h.Env, FortifyStatus+"=0")
+ h.Env = append(h.Env, HakureiStatus+"=0")
}
return proc.Fulfill(h.helperFiles.ctx, &h.ExtraFiles, h.Cmd.Start, h.files, h.extraFiles)