From 1d0ffefbadf0821faccbbd7d3a0ef9e610f533c4 Mon Sep 17 00:00:00 2001 From: Ronald Chan Date: Wed, 20 Nov 2013 22:25:36 +1300 Subject: [PATCH] close metafile to prevent box_inside writing false data to it - see https://github.com/ronalchn/isolate-cheater --- isolate/isolate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/isolate/isolate.c b/isolate/isolate.c index 37b34f7..505a41e 100644 --- a/isolate/isolate.c +++ b/isolate/isolate.c @@ -1251,6 +1251,7 @@ box_inside(void *arg) char **args = arg; write_errors_to_fd = error_pipes[1]; close(error_pipes[0]); + meta_close(); cg_enter(); setup_root();