From 3147ca6fe2a2776a7b37098641890dc99a84fb3c Mon Sep 17 00:00:00 2001 From: Juan Pablo Date: Thu, 8 Dec 2022 12:45:02 -0600 Subject: [PATCH 1/2] Turned on the flag disable-sandboxing --- runner/sandbox.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runner/sandbox.go b/runner/sandbox.go index 2a48ec8..1045019 100644 --- a/runner/sandbox.go +++ b/runner/sandbox.go @@ -192,6 +192,7 @@ func (o *OmegajailSandbox) Compile( "--root", o.omegajailRoot, "--compile", lang, "--compile-target", target, + "--disable-sandboxing", strconv.FormatBool(true), } for _, inputFile := range inputFiles { if !strings.HasPrefix(inputFile, chdir) { @@ -329,6 +330,7 @@ func (o *OmegajailSandbox) Run( "--root", o.omegajailRoot, "--run", lang, "--run-target", target, + "--disable-sandboxing", strconv.FormatBool(true), } for path, mountTarget := range extraMountPoints { params = append( From 4bf35e1903b27f861c1035350d67fa1e165bea58 Mon Sep 17 00:00:00 2001 From: Juan Pablo Date: Thu, 16 Feb 2023 01:05:49 -0600 Subject: [PATCH 2/2] Reverting the flag --- runner/sandbox.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/runner/sandbox.go b/runner/sandbox.go index 1045019..2a48ec8 100644 --- a/runner/sandbox.go +++ b/runner/sandbox.go @@ -192,7 +192,6 @@ func (o *OmegajailSandbox) Compile( "--root", o.omegajailRoot, "--compile", lang, "--compile-target", target, - "--disable-sandboxing", strconv.FormatBool(true), } for _, inputFile := range inputFiles { if !strings.HasPrefix(inputFile, chdir) { @@ -330,7 +329,6 @@ func (o *OmegajailSandbox) Run( "--root", o.omegajailRoot, "--run", lang, "--run-target", target, - "--disable-sandboxing", strconv.FormatBool(true), } for path, mountTarget := range extraMountPoints { params = append(