fst: include syscall filter configuration
All checks were successful
Build / Create distribution (push) Successful in 3m0s
Test / Run NixOS test (push) Successful in 5m19s

This value is passed through to shim.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-01-20 21:12:39 +09:00
parent 2cf1f46ea2
commit 27f5922d5c
4 changed files with 31 additions and 6 deletions

View File

@@ -1,6 +1,9 @@
package shim
import "git.gensokyo.uk/security/fortify/helper/bwrap"
import (
"git.gensokyo.uk/security/fortify/fst"
"git.gensokyo.uk/security/fortify/helper/bwrap"
)
const Env = "FORTIFY_SHIM"
@@ -15,6 +18,8 @@ type Payload struct {
Home string
// sync fd
Sync *uintptr
// seccomp opts pass through
Syscall *fst.SyscallConfig
// verbosity pass through
Verbose bool