aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/snapshot.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/executor/snapshot.h b/executor/snapshot.h
index 059ac8222..0cac33822 100644
--- a/executor/snapshot.h
+++ b/executor/snapshot.h
@@ -133,6 +133,14 @@ static void SnapshotSetup(char** argv, int argc)
.slowdown_scale = static_cast<uint64>(msg->slowdown()),
};
parse_handshake(req);
+#if SYZ_HAVE_FEATURES
+ setup_sysctl();
+ setup_cgroups();
+#endif
+#if SYZ_HAVE_SETUP_EXT
+ // This can be defined in common_ext.h.
+ setup_ext();
+#endif
for (const auto& feat : features) {
if (!(msg->features() & feat.id))
continue;