From 27f5922d5c4d4432246d6de6eb0d81d574cdc8c7 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 20 Jan 2025 21:12:39 +0900 Subject: fst: include syscall filter configuration This value is passed through to shim. Signed-off-by: Ophestra --- internal/app/start.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'internal/app/start.go') diff --git a/internal/app/start.go b/internal/app/start.go index 1755b333..1825d9a8 100644 --- a/internal/app/start.go +++ b/internal/app/start.go @@ -76,10 +76,11 @@ func (a *app) Run(ctx context.Context, rs *RunState) error { // send payload if err = a.shim.Serve(shimSetupCtx, &shim.Payload{ - Argv: a.seal.command, - Exec: shimExec, - Bwrap: a.seal.sys.bwrap, - Home: a.seal.sys.user.data, + Argv: a.seal.command, + Exec: shimExec, + Bwrap: a.seal.sys.bwrap, + Home: a.seal.sys.user.data, + Syscall: a.seal.scmp, Verbose: fmsg.Verbose(), }); err != nil { -- cgit v1.3.1