From 66b9eb592907501b2caa11568313a324ee7cd6b8 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Tue, 26 Nov 2024 10:11:20 +0100 Subject: sys/linux: move some ARM-specific descriptions to a separate file This is done to solve a particular test failure running: $ tools/syz-env go test ./prog -run TestSpecialStructs , which failed on PPC64, because prog/rand.go instanciated a call to syz_kvm_setup_syzos_vm(), which requested too much memory (1024 pages) from the allocator (PPC64 uses 64k pages, so the number of available pages is lower). On the other hand, factoring out syzos-related descriptions is probably a nice thing to do anyway. --- pkg/vminfo/linux_test.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pkg/vminfo/linux_test.go') diff --git a/pkg/vminfo/linux_test.go b/pkg/vminfo/linux_test.go index 4df5b017a..5be6a7a8d 100644 --- a/pkg/vminfo/linux_test.go +++ b/pkg/vminfo/linux_test.go @@ -46,11 +46,7 @@ func TestLinuxSyscalls(t *testing.T) { t.Fatal(err) } expectDisabled := map[string]bool{ - "syz_kvm_add_vcpu": true, - "syz_kvm_setup_cpu$arm64": true, "syz_kvm_setup_cpu$ppc64": true, - "syz_kvm_setup_syzos_vm": true, - "syz_kvm_vgic_v3_setup": true, } // All mount and syz_mount_image calls except for ext4 and binder will be disabled. for call := range disabled { -- cgit mrf-deployment