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/kvm.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'executor/kvm.h') diff --git a/executor/kvm.h b/executor/kvm.h index 104bd45fc..fb7b5b49d 100644 --- a/executor/kvm.h +++ b/executor/kvm.h @@ -1,6 +1,9 @@ // Copyright 2017 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_KVM_H +#define EXECUTOR_KVM_H + // x86-specific definitions. #if GOARCH_amd64 #define X86_ADDR_TEXT 0x0000 @@ -209,3 +212,5 @@ #define ARM64_ADDR_ITS_PEND_TABLES (ARM64_ADDR_ITS_PROP_TABLE + SZ_64K) #endif // ARM64 SYZOS definitions + +#endif // EXECUTOR_KVM_H \ No newline at end of file -- cgit mrf-deployment