From 7dc1cb33ae76d43d894dd96c2c4435a6a26b963d Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Thu, 23 Oct 2025 16:32:28 +0200 Subject: executor: add include guards to KVM headers Not having these results in three copies of every KVM-related #define in each reproducer. --- executor/common_kvm_386.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'executor/common_kvm_386.h') diff --git a/executor/common_kvm_386.h b/executor/common_kvm_386.h index f1b634150..5c8498492 100644 --- a/executor/common_kvm_386.h +++ b/executor/common_kvm_386.h @@ -1,6 +1,9 @@ // Copyright 2025 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. +#ifndef EXECUTOR_COMMON_KVM_386_H +#define EXECUTOR_COMMON_KVM_386_H + // This file is shared between executor and csource package. #if SYZ_EXECUTOR || __NR_syz_kvm_setup_syzos_vm @@ -37,3 +40,5 @@ static volatile long syz_kvm_setup_cpu(volatile long a0, volatile long a1, volat return 0; } #endif + +#endif // EXECUTOR_COMMON_KVM_386_H \ No newline at end of file -- cgit mrf-deployment