container/seccomp: remove export pipe
All checks were successful
Test / Create distribution (push) Successful in 34s
Test / Sandbox (push) Successful in 2m11s
Test / Sandbox (race detector) (push) Successful in 4m2s
Test / Hpkg (push) Successful in 4m19s
Test / Hakurei (race detector) (push) Successful in 4m47s
Test / Hakurei (push) Successful in 2m13s
Test / Flake checks (push) Successful in 1m32s

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