diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-17 02:31:46 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-17 02:44:07 +0900 |
| commit | 9a1f8e129fe0f9919981b8a1d345a9b455bd76de (patch) | |
| tree | e52f33a3908c256aebb30f059cabd40f371a886f /internal/output.go | |
| parent | ee108603572101ad3c285830e04ee248916b6c5d (diff) | |
sandbox: wrap fmsg interface
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/output.go')
| -rw-r--r-- | internal/output.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/output.go b/internal/output.go index db37f55c..c85f1b51 100644 --- a/internal/output.go +++ b/internal/output.go @@ -2,11 +2,15 @@ package internal import ( "git.gensokyo.uk/security/fortify/internal/fmsg" + "git.gensokyo.uk/security/fortify/internal/sandbox" "git.gensokyo.uk/security/fortify/seccomp" + "git.gensokyo.uk/security/fortify/system" ) func InstallFmsg(verbose bool) { fmsg.Store(verbose) + sandbox.SetOutput(fmsg.Output{}) + system.SetOutput(fmsg.Output{}) if verbose { seccomp.SetOutput(fmsg.Verbose) } |
