CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/11/18 08:24:09
Modified files:
sys/arch/amd64/stand/libsa: softraid_amd64.c
sys/arch/arm64/stand/efiboot: softraid_arm64.c
sys/arch/i386/stand/libsa: softraid_i386.c
sys/arch/luna88k/luna88k: disksubr.c
sys/arch/luna88k/stand/boot: ufs_disksubr.c
sys/arch/riscv64/stand/efiboot: softraid_riscv64.c
sys/arch/sparc64/sparc64: disksubr.c
sys/arch/sparc64/stand/ofwboot: ofdev.c
sys/dev/sun : disklabel.h
Log message:
When MAXPARTITIONS is cranked to 52 there are some places
where the value must remain 16. e.g. MD/Vendor labels that
must fit inside a DEV_BSIZE buf, parsing the contents of a
DEV_BSIZE buf as a disklabel and translations to/from
MD/Vendor labels and OpenBSD labels.
Replace MAXPARTITIONS with MAXPARTITIONS16 in the most
obvious of these places.
ok deraadt@