Support process.scheduler

Spec: https://github.com/opencontainers/runtime-spec/pull/1188
Fix: https://github.com/opencontainers/runc/issues/3895

Co-authored-by: lifubang <lifubang@acmcoder.com>
Signed-off-by: utam0k <k0ma@utam0k.jp>
Signed-off-by: lifubang <lifubang@acmcoder.com>
This commit is contained in:
utam0k
2023-08-04 02:04:56 +00:00
committed by lifubang
parent 634280f5ab
commit 770728e16e
11 changed files with 208 additions and 1 deletions
+2
View File
@@ -95,6 +95,8 @@ type Process struct {
//
// For cgroup v2, the only key allowed is "".
SubCgroupPaths map[string]string
Scheduler *configs.Scheduler
}
// Wait waits for the process to exit.