From 91ea49ce25b16f626de58761a96238c5f0a7c252 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Fri, 23 Dec 2016 16:25:35 +0100 Subject: vm: add Odroid support This commit adds Odroid C2 support to syzkaller. It's now possible to specify "type": "odroid" in manager config. Documentation on how to setup fuzzing with Odroid C2 board is here: https://github.com/google/syzkaller/wiki/Setup:-Odroid-C2 Note, that after this change libusb-1.0-0-dev package should be installed to build syzkaller. --- executor/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor') diff --git a/executor/common.h b/executor/common.h index b1084eb0c..4983802f2 100644 --- a/executor/common.h +++ b/executor/common.h @@ -633,7 +633,7 @@ static int do_sandbox_namespace(int executor_pid, bool enable_tun) epid = executor_pid; etun = enable_tun; mprotect(sandbox_stack, 4096, PROT_NONE); // to catch stack underflows - return clone(namespace_sandbox_proc, &sandbox_stack[sizeof(sandbox_stack) - 8], + return clone(namespace_sandbox_proc, &sandbox_stack[sizeof(sandbox_stack) - 64], CLONE_NEWUSER | CLONE_NEWPID | CLONE_NEWUTS | CLONE_NEWNET, NULL); } #endif -- cgit mrf-deployment