From 68f78d914b221763476e6f17a0d0c48183eeb8cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 28 Apr 2019 17:56:30 +0200 Subject: child: allow binfmt_misc to be preserved This should allow chrooting to non-native systems using qemu. --- child.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'child.h') diff --git a/child.h b/child.h index 18909e4..cb49638 100644 --- a/child.h +++ b/child.h @@ -20,6 +20,7 @@ #ifndef _UROOT_CHILD_H_ #define _UROOT_CHILD_H_ +#include #include #include "sigpipe.h" @@ -29,6 +30,7 @@ struct child_args { int argc; char **argv; sigpipe_t sigpipe; + bool binfmt; }; // Function used as a main for child process -- cgit v1.2.3