diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-13 18:49:58 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-13 18:51:35 +0900 |
| commit | 123d7fbfd5a2955dc5042c0a85211e376d5a8e65 (patch) | |
| tree | 7e03e35309083b81873f3cf1939d2f4d27d41659 /container/seccomp/presets.go | |
| parent | 7638a44fa613f23434318bdf136723aa010e8638 (diff) | |
container/seccomp: remove export pipe
This was only useful when wrapping bwrap.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/seccomp/presets.go')
| -rw-r--r-- | container/seccomp/presets.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/container/seccomp/presets.go b/container/seccomp/presets.go index abd3d5cd..f12d9f76 100644 --- a/container/seccomp/presets.go +++ b/container/seccomp/presets.go @@ -9,9 +9,9 @@ import ( ) func Preset(presets bits.FilterPreset, flags ExportFlag) (rules []NativeRule) { - allowedPersonality := PER_LINUX + allowedPersonality := PersonaLinux if presets&bits.PresetLinux32 != 0 { - allowedPersonality = PER_LINUX32 + allowedPersonality = PersonaLinux32 } presetDevelFinal := presetDevel(ScmpDatum(allowedPersonality)) |
