grub/grub-core
Julian Andres Klode b2c72f4641 disk: Generalize MD_MAX_DISKS to GRUB_MDRAID_MAX_DISKS
Move the constant from grub-core/osdep/linux/getroot.c to
include/grub/disk.h and then reuse it in place of the
hardcoded 1024 limit in diskfilter.

Fixes: 2a5e3c1f2 (disk/diskfilter: Don't make a RAID array with more than 1024 disks)

Cc: Daniel Axtens <dja@axtens.net>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Julian Andres Klode <julian.klode@canonical.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2023-06-23 00:50:38 +02:00
..
2023-06-01 11:45:00 +02:00
2023-06-13 14:48:38 +02:00
2023-01-19 17:39:04 +01:00
2023-06-01 11:45:00 +02:00
2023-06-01 11:45:00 +02:00
2023-06-01 11:45:00 +02:00
2022-03-14 16:00:27 +01:00
2023-06-01 11:45:00 +02:00
2017-05-03 12:49:31 +02:00
2023-05-17 13:23:44 +02:00
2017-05-03 12:49:31 +02:00