From 09017703fac0755f8fc6362abe16a3206bccf333 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Tue, 10 Dec 2024 13:38:43 +0100 Subject: pkg/vminfo: sys/linux: executor: define syz_kvm_assert_syzos_uexit() The new pseudo-syscall will serve as a test assertion, checking the uexit return value. This is going to help us validate SyzOS code. --- executor/common_linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/common_linux.h') diff --git a/executor/common_linux.h b/executor/common_linux.h index a84b2eeb0..5fc1bec2c 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 +#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 // KVM is not yet supported on RISC-V #if !GOARCH_riscv64 && !GOARCH_arm #include -- cgit mrf-deployment