feat(runner): add the own code runner contract, client and nsjail service

This commit is contained in:
shira committed 2026-10-11 08:23:42 +03:00
1 parent 5e1db37746
commit cdf6bcbb91
109 files changed
+24084 -28

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
//go:build !linux
package sandbox
import (
"os"
"os/exec"
)
// signalKill is the Linux SIGKILL number reported by stopped runs.
const signalKill = 9
func platformSupported() error {
return ErrUnsupportedPlatform
}
func attachToCgroup(*exec.Cmd, *runCgroup) {}
func peakMemoryKB(*os.ProcessState) int64 {
return 0
}