From 584405f7ccd4c8c0e63762e113f4650f2abd469e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 8 Apr 2025 01:59:45 +0900 Subject: sandbox/seccomp: rename flag type and constants The names are ambiguous. Rename them to make more sense. Signed-off-by: Ophestra --- sandbox/seccomp/export.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sandbox/seccomp/export.go') diff --git a/sandbox/seccomp/export.go b/sandbox/seccomp/export.go index 95684235..c0d2803d 100644 --- a/sandbox/seccomp/export.go +++ b/sandbox/seccomp/export.go @@ -7,7 +7,7 @@ import ( ) type exporter struct { - opts SyscallOpts + opts FilterOpts r, w *os.File prepareOnce sync.Once @@ -53,6 +53,6 @@ func (e *exporter) closeWrite() error { return e.closeErr } -func newExporter(opts SyscallOpts) *exporter { +func newExporter(opts FilterOpts) *exporter { return &exporter{opts: opts} } -- cgit v1.3.1