aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2024-12-18 10:48:43 +0100
committerAlexander Potapenko <glider@google.com>2024-12-18 13:04:48 +0000
commit7279033500a8ac2d5d0a429cb20dd7c2c9cd547e (patch)
tree4dc93adc4664074af36fe9b9e4f58b611e278a9b /executor/common_linux.h
parenta0626d3a05d5e31af100787b6749f0b89416c171 (diff)
executor: pkg/vminfo: sys/linux: arm64: implement syz_kvm_assert_reg()
Add a pseudo-syscall to assert on register values.
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index e63b0479f..635fc25ad 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -3186,7 +3186,7 @@ error_clear_loop:
}
#endif
-#if SYZ_EXECUTOR || __NR_syz_kvm_setup_cpu || __NR_syz_kvm_vgic_v3_setup || __NR_syz_kvm_setup_syzos_vm || __NR_syz_kvm_add_vcpu || __NR_syz_kvm_assert_syzos_uexit
+#if SYZ_EXECUTOR || __NR_syz_kvm_setup_cpu || __NR_syz_kvm_vgic_v3_setup || __NR_syz_kvm_setup_syzos_vm || __NR_syz_kvm_add_vcpu || __NR_syz_kvm_assert_syzos_uexit || __NR_syz_kvm_assert_reg
// KVM is not yet supported on RISC-V
#if !GOARCH_riscv64 && !GOARCH_arm
#include <errno.h>