From 31aef905fa819310ee7694775a836c294ff742e4 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 2 Jul 2025 04:38:28 +0900 Subject: sandbox: expose seccomp interface There's no point in artificially limiting and abstracting away these options. The higher level hakurei package is responsible for providing a secure baseline and sane defaults. The sandbox package should present everything to the caller. Signed-off-by: Ophestra --- sandbox/seccomp/libseccomp.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sandbox/seccomp') diff --git a/sandbox/seccomp/libseccomp.go b/sandbox/seccomp/libseccomp.go index d28df638..a43b8f23 100644 --- a/sandbox/seccomp/libseccomp.go +++ b/sandbox/seccomp/libseccomp.go @@ -171,11 +171,11 @@ type ScmpDatum uint64 // Argument / Value comparison definition type ScmpArgCmp struct { // argument number, starting at 0 - arg C.uint + Arg C.uint // the comparison op, e.g. SCMP_CMP_* - op ScmpCompare + Op ScmpCompare - datum_a, datum_b ScmpDatum + DatumA, DatumB ScmpDatum } // only used for testing -- cgit v1.3.1