Fix 'make bsd.umg' by skipping PT_OPENBSD_RANDOMIZE segments, as well as
authormcbride <mcbride@openbsd.org>
Wed, 1 Jan 2014 09:24:54 +0000 (09:24 +0000)
committermcbride <mcbride@openbsd.org>
Wed, 1 Jan 2014 09:24:54 +0000 (09:24 +0000)
commit31e976ee9c034c1d7bf683104a7b77a3ac92ac4d
treeb3cc0cb769a8ca84f00c4ea42c4b4eda6ba07ae3
parenta8327e486294ad76c21e401fd9f40fa40b601b47
Fix 'make bsd.umg' by skipping PT_OPENBSD_RANDOMIZE segments, as well as
other innocuous segment types (PT_NOTE, PT_NULL). Handle PT_LOAD, fail on
any others.

Thanks kettenis and millert for feedback

ok deraadt
usr.sbin/mkuboot/copy_elf.c