diff options
| author | Andrey Konovalov <andreyknvl@gmail.com> | 2017-03-10 19:34:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-10 19:34:57 +0100 |
| commit | 3816386feb0d83d60dfe0745f52bf93c8679c75d (patch) | |
| tree | 39fb9c2789ff462842712a7a1eb0ef9527dbf3e4 /executor | |
| parent | 2f41f8b5db3d4ef6c2192158f8c9948ed455d1f2 (diff) | |
| parent | 889d63a6a77a35ed57dec84c267a9437c568a0e6 (diff) | |
Merge pull request #144 from xairy/odroid
vm: add Odroid support
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 |
