helper/bwrap: integrate seccomp into helper interface
This makes API usage much cleaner, and encapsulates all bwrap arguments in argsWt. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package shim
|
||||
|
||||
import (
|
||||
"git.gensokyo.uk/security/fortify/fst"
|
||||
"git.gensokyo.uk/security/fortify/helper/bwrap"
|
||||
)
|
||||
|
||||
@@ -18,8 +17,6 @@ type Payload struct {
|
||||
Home string
|
||||
// sync fd
|
||||
Sync *uintptr
|
||||
// seccomp opts pass through
|
||||
Syscall *fst.SyscallConfig
|
||||
|
||||
// verbosity pass through
|
||||
Verbose bool
|
||||
|
||||
Reference in New Issue
Block a user