[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2008/11/21 16:51:30

Modified files:
	sys/kern       : subr_disk.c 

Log message:
Relax sanity check so any two-byte jmp followed by a NOP, or any
three-byte jmp will be acceptable as the preamble to a FAT boot
sector for the purposes of spoofing an 'i' partition. Problem noted
most recently by mbalmer_(_at_)__(_dot_)_

Fixes mbalmer@, fkr@ and jmc@'s Nokia E71 phones.

"seems silly" tedu@ "disgusting" deraadt@ "makes sense" fkr@
ok jmc@ "looks ok" weingart@