diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-05 02:47:43 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-05 02:47:43 +0900 |
| commit | c1399f5030abde76728ba7982a7a22fd49e75359 (patch) | |
| tree | 06e2a2ce11dbd7536150fd57824e406f101d50d9 /container/container.go | |
| parent | 9ac63aac0cb025d1de195dbc57d0c89ebd1d7cc5 (diff) | |
std: rename from comp
Seccomp lookup tables are going to be relocated here, and PNR constants.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/container.go')
| -rw-r--r-- | container/container.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/container/container.go b/container/container.go index 1e23897d..86fd7ce3 100644 --- a/container/container.go +++ b/container/container.go @@ -15,9 +15,9 @@ import ( "time" "hakurei.app/container/check" - "hakurei.app/container/comp" "hakurei.app/container/fhs" "hakurei.app/container/seccomp" + "hakurei.app/container/std" "hakurei.app/message" ) @@ -89,7 +89,7 @@ type ( // Extra seccomp flags. SeccompFlags seccomp.ExportFlag // Seccomp presets. Has no effect unless SeccompRules is zero-length. - SeccompPresets comp.FilterPreset + SeccompPresets std.FilterPreset // Do not load seccomp program. SeccompDisable bool @@ -177,7 +177,7 @@ func (p *Container) Start() error { } if !p.RetainSession { - p.SeccompPresets |= comp.PresetDenyTTY + p.SeccompPresets |= std.PresetDenyTTY } if p.AdoptWaitDelay == 0 { |
