diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2017-05-17 20:35:50 +0200 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@google.com> | 2017-06-12 19:48:23 +0200 |
| commit | e7366c123e8e62cab5e70998b56e832c77178a59 (patch) | |
| tree | 94df9fe48407bf052c2732872208e553ef32d215 /executor/executor.cc | |
| parent | 7d7c9c550f5d83c652719be31a350a9f8f306b3c (diff) | |
executor: split setup_main_process into smaller functions
Diffstat (limited to 'executor/executor.cc')
| -rw-r--r-- | executor/executor.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/executor/executor.cc b/executor/executor.cc index 800ac932e..04624cdc8 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -186,7 +186,8 @@ int main(int argc, char** argv) uint64_t executor_pid = *((uint64_t*)input_data + 1); cover_open(); - setup_main_process(); + install_segv_handler(); + use_temporary_dir(); int pid = -1; switch (flag_sandbox) { |
