diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-17 13:35:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-17 13:39:26 +0900 |
| commit | cd5959fe5ab04786cd5dee3cf09f725229ae7c7b (patch) | |
| tree | c0dae3f950528e7c3b6d7359441ee8aeb9a488cd /internal/pkg/exec.go | |
| parent | 08c35ca24fabc41268411cec14ea386a6d87ece9 (diff) | |
ext: isolate from container/std
These are too general to belong in the container package. This targets the v0.4 release to reduce the wrapper maintenance burden.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/exec.go')
| -rw-r--r-- | internal/pkg/exec.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/pkg/exec.go b/internal/pkg/exec.go index 998dce70..c5b8b10d 100644 --- a/internal/pkg/exec.go +++ b/internal/pkg/exec.go @@ -20,6 +20,7 @@ import ( "hakurei.app/container/fhs" "hakurei.app/container/seccomp" "hakurei.app/container/std" + "hakurei.app/ext" "hakurei.app/message" ) @@ -414,7 +415,7 @@ func (a *execArtifact) cure(f *FContext, hostNet bool) (err error) { z.HostNet = hostNet z.Hostname = "cure" z.SetScheduler = SetSchedIdle - z.SchedPolicy = std.SCHED_IDLE + z.SchedPolicy = ext.SCHED_IDLE if z.HostNet { z.Hostname = "cure-net" } |
