diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-07-02 00:32:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-07-02 00:32:48 +0900 |
| commit | 26b7afc890e23af19fe6662fd27f46b47e9feea9 (patch) | |
| tree | 9c6375c4d46e5767b01826eb90ba50d0ae4c9f99 /hst/container.go | |
| parent | d5532aade0c3f042c5daa7d1c16e7cce2f4b524a (diff) | |
sandbox/seccomp: prepare -> export
Export makes a lot more sense, and also matches the libseccomp function.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/container.go')
| -rw-r--r-- | hst/container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hst/container.go b/hst/container.go index 32ddef2e..43d7577a 100644 --- a/hst/container.go +++ b/hst/container.go @@ -11,7 +11,7 @@ type ( Hostname string `json:"hostname,omitempty"` // extra seccomp flags - SeccompFlags seccomp.PrepareFlag `json:"seccomp_flags"` + SeccompFlags seccomp.ExportFlag `json:"seccomp_flags"` // extra seccomp presets SeccompPresets seccomp.FilterPreset `json:"seccomp_presets"` // allow ptrace and friends |
