search for: pif_stricter

Displaying 3 results from an estimated 3 matches for "pif_stricter".

Did you mean: pif_strict
2014 Jun 29
10
[PATCH 0/6] chain.c32 patches
This small set fixes few bugs, improves gpt handling (under buggy conditions) and implements strict flag with more fine grained control which should fix issues with sanity checks against disk sizes. If this set is allright I'd want to do what I mentioned in older discussion with Ady - backport missing patches from 6.x to 5.x and 4.x so all versions have up to date chain version. Michal
2015 Jul 22
0
[PULL 1/8] Move partiter from com32/chain to com32/lib/syslinux
...p; - dp = ((struct disk_dos_mbr *)iter->data)->table + iter->index0; - - if (!dp->ostype) - return 0; - - if (!(iter->flags & PIF_STRICT)) - return 0; - - if (!dp->start_lba || - !dp->length || - !sane(dp->start_lba, dp->length) || - ((iter->flags & PIF_STRICTER) && (dp->start_lba + dp->length > iter->di.lbacnt))) { - error("Primary partition (in MBR) with invalid offset and/or length."); - return -1; - } - - return 0; -} - -static int notsane_gpt(const struct part_iter *iter) -{ - const struct disk_gpt_part_entry *gp...
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its last on-disk structure changes -- and it _suprisingly_ worked as expected. Right, now I can finally get rid of GRUB and use Syslinux to boot my Linux on EFI from a rootfs with xfs. Shit, I have two partitions (the first one being the required ESP) so there is no way to access the other partitions since because Syslinux does not