From 3ce63e95d7691450f7b368e639d984a223a764b1 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Oct 2025 18:28:20 +0900 Subject: container: move seccomp preset bits This allows holding the bits without cgo. Signed-off-by: Ophestra --- container/seccomp/proc.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'container/seccomp/proc.go') diff --git a/container/seccomp/proc.go b/container/seccomp/proc.go index 76773b25..7027cc6b 100644 --- a/container/seccomp/proc.go +++ b/container/seccomp/proc.go @@ -8,10 +8,6 @@ import ( "hakurei.app/helper/proc" ) -const ( - PresetStrict = PresetExt | PresetDenyNS | PresetDenyTTY | PresetDenyDevel -) - // New returns an inactive Encoder instance. func New(rules []NativeRule, flags ExportFlag) *Encoder { return &Encoder{newExporter(rules, flags)} } -- cgit v1.3.1