diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2016-12-23 16:25:35 +0100 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@google.com> | 2017-03-10 17:10:52 +0100 |
| commit | 91ea49ce25b16f626de58761a96238c5f0a7c252 (patch) | |
| tree | 28289e7f45aec503a52b02f93a4bd1774f37ba6f /executor | |
| parent | 6acb3c802d4886db5097b047d0275b4a33ce6e18 (diff) | |
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.
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
