sandbox: wrap fmsg interface

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-17 02:31:46 +09:00
parent ee10860357
commit 9a1f8e129f
32 changed files with 270 additions and 194 deletions

View File

@@ -7,8 +7,6 @@ import (
"path"
"strings"
"syscall"
"git.gensokyo.uk/security/fortify/internal/fmsg"
)
const (
@@ -43,7 +41,7 @@ func realpathHost(name string) (string, error) {
if !path.IsAbs(rp) {
return name, nil
}
fmsg.Verbosef("path %q resolves to %q", name, rp)
msg.Verbosef("path %q resolves to %q", name, rp)
return rp, nil
}