From f4288dd09a9be0dad2cf955695d66d1b37c107d2 Mon Sep 17 00:00:00 2001
From: Tom Smeding I have written a program; suppose it's called The impossible EFAULT
worker
.
-(While the program is written in Haskell, I don't think that's particularly relevant to this post.)
When run, worker
starts a bunch of copies of a script.
Under normal circumstances this script sets up a container using Linux cgroups and Linux user namespaces, but none of that is relevant because the strange behaviour in question occurs just fine without all of that -- in fact, we'll let it start the following script, say ./sleep.sh
:
#!/bin/bash
diff --git a/bugs/efault.md b/bugs/efault.md
index c9a539d..c66a6e1 100644
--- a/bugs/efault.md
+++ b/bugs/efault.md
@@ -2,6 +2,7 @@
I have written a program; suppose it's called `worker`.
(While the program is written in Haskell, I don't think that's particularly relevant to this post.)
+(EDIT: Reproducer can be found [here](https://git.tomsmeding.com/snap-efault/tree/).)
When run, `worker` starts a bunch of copies of a script.
Under normal circumstances this script sets up a container using Linux cgroups and Linux user namespaces, but none of that is relevant because the strange behaviour in question occurs just fine without all of that -- in fact, we'll let it start the following script, say `./sleep.sh`:
--
cgit v1.2.3-70-g09d2