container/seccomp: remove export pipe

This was only useful when wrapping bwrap.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-10-13 18:49:58 +09:00
parent 7638a44fa6
commit 123d7fbfd5
9 changed files with 180 additions and 293 deletions

View File

@@ -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))