CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2016/02/24 11:25:50
Modified files: sys/arch/hppa/hppa: disksubr.c sys/arch/hppa64/hppa64: disksubr.c sys/arch/macppc/macppc: disksubr.c sys/arch/sgi/sgi: disksubr.c Log message: Restore validity checks for the disklabels read from disk. They were suppressed in 2011 to address a problem that has since been solved in a more permanent way. Without the validity check proper disklabel discovery relied on a particular I/O failure, and the I/O failure was 'solved' by the introduction of readdisksector(). Fixes problem reading CDROM disklabels discovered by mlarkin@ while trying to install hppa. Compile check/typo discovery and ok deraadt@.