From 87e008d56de974947ebb99c2cc40b25d3c2cf43e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 25 Jun 2025 03:59:52 +0900 Subject: treewide: rename to hakurei Fortify makes little sense for a container tool. Signed-off-by: Ophestra --- helper/container.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'helper/container.go') diff --git a/helper/container.go b/helper/container.go index 6872f55b..e0c6fc82 100644 --- a/helper/container.go +++ b/helper/container.go @@ -9,8 +9,8 @@ import ( "slices" "sync" - "git.gensokyo.uk/security/fortify/helper/proc" - "git.gensokyo.uk/security/fortify/sandbox" + "git.gensokyo.uk/security/hakurei/helper/proc" + "git.gensokyo.uk/security/hakurei/sandbox" ) // New initialises a Helper instance with wt as the null-terminated argument writer. @@ -54,17 +54,17 @@ func (h *helperContainer) 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(*exec.Cmd) 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, func() error { -- cgit v1.3.1