Re: Collecting GRUB 2.06 test results

2021-01-16 Thread John Paul Adrian Glaubitz
Hello! On 1/4/21 4:24 PM, John Paul Adrian Glaubitz wrote: > I have started to collect test results for GRUB 2.06 here: > >> https://people.debian.org/~glaubitz/grub2.06-test-results/ Just as a heads-up: I have collected test results for all architectures supported by GRUB. I have also verified

[PATCH] Fix md RAID enumeration

2021-01-16 Thread Kees Cook
In addition to the prior patch to avoid leaving holes in the returned devicelist, the enumeration logic also needed fixing. GET_ARRAY_INFO's info.nr_disks does not map to GET_DISK_INFO's disk.number, which is an internal kernel index. If an array has had drives added, removed, etc, there may be gap

[PATCH] Fix potential truncation of mdraid device list

2021-01-16 Thread Kees Cook
The consumer of grub_util_raid_getmembers() expects a NULL terminated list of device names. It has no idea about how many devices are registered in the array; it only cares about active devices. As a result, there cannot be gaps in the list, otherwise the first listed inactive device will cause all