diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-04-08 01:59:45 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-04-08 01:59:45 +0900 |
| commit | 584405f7ccd4c8c0e63762e113f4650f2abd469e (patch) | |
| tree | f72d79d1a90e9bffe8f5c975e564ad40c602f2f7 /sandbox/seccomp/export.go | |
| parent | 50127ed5f9bc89f38c7d5d1aa06b4d99229b9c64 (diff) | |
sandbox/seccomp: rename flag type and constants
The names are ambiguous. Rename them to make more sense.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'sandbox/seccomp/export.go')
| -rw-r--r-- | sandbox/seccomp/export.go | 4 |
1 files changed, 2 insertions, 2 deletions
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} } |
