镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-07 15:06:47 +00:00
cgroupv2: change newCgroupHook interface
这个提交包含在:
@@ -62,7 +62,12 @@ func waitExec () {
|
||||
panic("Exec failed.")
|
||||
}
|
||||
|
||||
func newCgroupHook(p mirrorProvider, basePath, baseGroup, subsystem string, memLimit MemBytes) *cgroupHook {
|
||||
func newCgroupHook(p mirrorProvider, cfg cgroupConfig, memLimit MemBytes) *cgroupHook {
|
||||
var (
|
||||
basePath = cfg.BasePath
|
||||
baseGroup = cfg.Group
|
||||
subsystem = cfg.Subsystem
|
||||
)
|
||||
if basePath == "" {
|
||||
basePath = "/sys/fs/cgroup"
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户