fix(runner): load the seccomp policy on amd64 and make the A16 bombs deterministic
This commit is contained in:
1 parent
e858280d91
commit
1ebd23693e
8 files changed
+68
-24
No files matched your search
+10
@@ -0,0 +1,10 @@
|
||||
// Goroutine bomb: unbounded goroutines parked on a channel need no new OS
|
||||
// threads, so only their stacks grow; the cgroup memory limit must stop it.
|
||||
package main
|
||||
|
||||
func main() {
|
||||
block := make(chan struct{})
|
||||
for {
|
||||
go func() { <-block }()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user