diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-06-14 17:30:52 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2023-06-15 09:41:32 +0200 |
| commit | 4f4c106e98f85b8e1dd03e9fcfeef9710668b023 (patch) | |
| tree | f881e23723e850adc56d366192c9c3f34c3075ab /executor/common.h | |
| parent | ff5fb3046c399ee921d31b80e8ec86c73c7d7553 (diff) | |
executor: move setup_ext() below other features
It makes these extentions much more flexible as they can now also
customize what other features set up.
Diffstat (limited to 'executor/common.h')
| -rw-r--r-- | executor/common.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/executor/common.h b/executor/common.h index 32df69001..5f042d1ec 100644 --- a/executor/common.h +++ b/executor/common.h @@ -815,9 +815,6 @@ int main(void) /*{{{MMAP_DATA}}}*/ #endif -#if SYZ_HAVE_SETUP_EXT - setup_ext(); -#endif #if SYZ_SYSCTL setup_sysctl(); #endif @@ -842,10 +839,12 @@ int main(void) #if SYZ_802154 setup_802154(); #endif - #if SYZ_HANDLE_SEGV install_segv_handler(); #endif +#if SYZ_HAVE_SETUP_EXT + setup_ext(); +#endif #if SYZ_MULTI_PROC for (procid = 0; procid < /*{{{PROCS}}}*/; procid++) { if (fork() == 0) { |
