forked from security/hakurei
This enables loading syscall filter policies from external cross-platform config files. This also removes a significant amount of C code. Signed-off-by: Ophestra <cat@gensokyo.uk>
14 lines
290 B
Go
14 lines
290 B
Go
package internal
|
|
|
|
import (
|
|
"git.gensokyo.uk/security/hakurei/internal/hlog"
|
|
"git.gensokyo.uk/security/hakurei/sandbox"
|
|
"git.gensokyo.uk/security/hakurei/system"
|
|
)
|
|
|
|
func InstallFmsg(verbose bool) {
|
|
hlog.Store(verbose)
|
|
sandbox.SetOutput(hlog.Output{})
|
|
system.SetOutput(hlog.Output{})
|
|
}
|