From 757d26edba7d7de8c564a87a262a0b1321ddf804 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 14 Jun 2023 14:58:25 +0200 Subject: 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. --- executor/common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'executor/common.h') 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 -- cgit mrf-deployment