fortify/internal/output.go
Ophestra ee10860357
All checks were successful
Test / Create distribution (push) Successful in 24s
Test / Fortify (push) Successful in 2m33s
Test / Fpkg (push) Successful in 3m17s
Test / Data race detector (push) Successful in 4m1s
Test / Flake checks (push) Successful in 49s
seccomp: install output atomically
Signed-off-by: Ophestra <cat@gensokyo.uk>
2025-03-17 01:10:27 +09:00

14 lines
231 B
Go

package internal
import (
"git.gensokyo.uk/security/fortify/internal/fmsg"
"git.gensokyo.uk/security/fortify/seccomp"
)
func InstallFmsg(verbose bool) {
fmsg.Store(verbose)
if verbose {
seccomp.SetOutput(fmsg.Verbose)
}
}