fix(runner): load the seccomp policy on amd64 and make the A16 bombs deterministic

This commit is contained in:
shira committed 2026-10-11 09:44:45 +03:00
1 parent e858280d91
commit 1ebd23693e
8 files changed
+68 -24

No files matched your search

+10
View File
@@ -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 }()
}
}