From f4288dd09a9be0dad2cf955695d66d1b37c107d2 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 8 Sep 2022 10:28:49 +0200 Subject: bugs/efault: Add reproducer link --- bugs/efault.html | 3 ++- bugs/efault.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'bugs') diff --git a/bugs/efault.html b/bugs/efault.html index 06be3c1..d00a51c 100644 --- a/bugs/efault.html +++ b/bugs/efault.html @@ -1,6 +1,7 @@

The impossible EFAULT

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.)

+(While the program is written in Haskell, I don't think that's particularly relevant to this post.) +(EDIT: Reproducer can be found here.)

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-54-g00ecf