diff options
author | Karel Kočí <cynerd@email.cz> | 2019-04-28 17:56:30 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2019-04-28 17:56:30 +0200 |
commit | 68f78d914b221763476e6f17a0d0c48183eeb8cb (patch) | |
tree | 9f65bcd596ed9dbc551e6a8b39067f5e4169db7d /child.h | |
parent | 3f0fa5587f6e69e8957e674d3ccde6ff8873302e (diff) | |
download | uroot-68f78d914b221763476e6f17a0d0c48183eeb8cb.tar.gz uroot-68f78d914b221763476e6f17a0d0c48183eeb8cb.tar.bz2 uroot-68f78d914b221763476e6f17a0d0c48183eeb8cb.zip |
child: allow binfmt_misc to be preserved
This should allow chrooting to non-native systems using qemu.
Diffstat (limited to 'child.h')
-rw-r--r-- | child.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -20,6 +20,7 @@ #ifndef _UROOT_CHILD_H_ #define _UROOT_CHILD_H_ +#include <stdbool.h> #include <sys/types.h> #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 |