test(runner): verify sandbox isolation with a hostile program suite
This commit is contained in:
1 parent
afee564bf4
commit
e858280d91
38 files changed
+1359
-168
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
// Process bomb: every copy starts more copies and ignores failures; the
|
||||
// cgroup process limit must stop it.
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
func main() {
|
||||
for {
|
||||
_ = exec.Command(os.Args[0]).Start()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user