diff --git a/client/syzojclient/task.go b/client/syzojclient/task.go index db96fa5..6410b7b 100644 --- a/client/syzojclient/task.go +++ b/client/syzojclient/task.go @@ -162,7 +162,7 @@ func convertResultTypes(s envexec.Status) testCaseResultType { return resultOutputLimitExceeded case envexec.StatusFileError: return resultFileError - case envexec.StatusRuntimeError: + case envexec.StatusNonzeroExitStatus, envexec.StatusSignalled: return resultRuntimeError case envexec.StatusJudgementFailed: return resultJudgementFailed diff --git a/cmd/executorserver/main.go b/cmd/executorserver/main.go index 0498a99..ef576e5 100644 --- a/cmd/executorserver/main.go +++ b/cmd/executorserver/main.go @@ -56,6 +56,7 @@ func main() { WithBind("/lib", "lib", true). WithBind("/lib64", "lib64", true). WithBind("/usr", "usr", true). + WithBind("/var/lib/ghc", "var/lib/ghc", true). // java wants /proc/self/exe as it need relative path for lib // however, /proc gives interface like /proc/1/fd/3 .. // it is fine since open that file will be a EPERM