helper/bwrap: remove fmsg import
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
1fd571d561
commit
88040504b2
@ -6,7 +6,6 @@ import (
|
|||||||
|
|
||||||
"git.gensokyo.uk/security/fortify/helper/proc"
|
"git.gensokyo.uk/security/fortify/helper/proc"
|
||||||
"git.gensokyo.uk/security/fortify/helper/seccomp"
|
"git.gensokyo.uk/security/fortify/helper/seccomp"
|
||||||
"git.gensokyo.uk/security/fortify/internal/fmsg"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type SyscallPolicy struct {
|
type SyscallPolicy struct {
|
||||||
@ -56,7 +55,7 @@ func (c *Config) seccompArgs() FDBuilder {
|
|||||||
for _, opt := range optCond {
|
for _, opt := range optCond {
|
||||||
if opt.v {
|
if opt.v {
|
||||||
opts |= opt.o
|
opts |= opt.o
|
||||||
if fmsg.Verbose() {
|
if seccomp.CPrintln != nil {
|
||||||
optd = append(optd, opt.d)
|
optd = append(optd, opt.d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user