diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-06-14 14:58:25 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-06-15 11:49:04 +0200 |
| commit | 757d26edba7d7de8c564a87a262a0b1321ddf804 (patch) | |
| tree | f78b5e053c0a61ef2771e130af410ee7ee1d40da /executor/common.h | |
| parent | 90d4044eae0123561d6cf2f667a4bc3357d93e7a (diff) | |
all: support swap feature on Linux
If the feature is supported on the device, allocate a 128MB swap file
after VM boot and activate it.
Diffstat (limited to 'executor/common.h')
| -rw-r--r-- | executor/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/executor/common.h b/executor/common.h index 5f042d1ec..0e986022c 100644 --- a/executor/common.h +++ b/executor/common.h @@ -839,6 +839,9 @@ int main(void) #if SYZ_802154 setup_802154(); #endif +#if SYZ_SWAP + setup_swap(); +#endif #if SYZ_HANDLE_SEGV install_segv_handler(); #endif |
