diff options
| author | Alexander Potapenko <glider@google.com> | 2024-11-26 10:11:20 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2024-11-26 11:12:47 +0000 |
| commit | 66b9eb592907501b2caa11568313a324ee7cd6b8 (patch) | |
| tree | aafe3558c4cb2322d7a72eea540d0cac0ed51850 /pkg | |
| parent | 4cb01fb07201474a77f03a86420f116faec956c3 (diff) | |
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.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/vminfo/linux_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
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 { |
