2011-03-14 21:42:00 +00:00
|
|
|
2011-03-14 Colin Watson <cjwatson@ubuntu.com>
|
2010-11-22 22:33:55 +00:00
|
|
|
|
2011-03-25 17:22:12 +00:00
|
|
|
* include/grub/partition.h (grub_partition_map): Change prototype of
|
|
|
|
embed to take a maximum value for nsectors.
|
2011-03-14 21:42:00 +00:00
|
|
|
* grub-core/partmap/msdos.c (embed_signatures): New array.
|
2010-11-22 22:33:55 +00:00
|
|
|
(pc_partition_map_embed): Check for and avoid sectors matching any
|
2011-03-25 17:22:12 +00:00
|
|
|
of the signatures in embed_signatures, up to max_nsectors.
|
|
|
|
* grub-core/partmap/gpt.c (gpt_partition_map_embed): Restrict
|
|
|
|
returned sector map to max_nsectors.
|
2010-11-22 22:33:55 +00:00
|
|
|
* util/grub-setup.c (setup): Allow for the embedding area being
|
2011-03-25 17:22:12 +00:00
|
|
|
split into multiple blocklists. Tell dest_partmap->embed the
|
|
|
|
maximum number of sectors we care about.
|