diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-07 18:28:20 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-07 18:28:20 +0900 |
| commit | 3ce63e95d7691450f7b368e639d984a223a764b1 (patch) | |
| tree | 5bc4d688d7fc25359de055934a1efc9f4daee163 /container/seccomp/proc.go | |
| parent | 2489766efe7b94873a04339009c3609c55e3856f (diff) | |
container: move seccomp preset bits
This allows holding the bits without cgo.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/seccomp/proc.go')
| -rw-r--r-- | container/seccomp/proc.go | 4 |
1 files changed, 0 insertions, 4 deletions
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)} } |
