summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mkuboot (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pledge "stdio" after opening up the input & output files.deraadt2015-10-121-1/+4
| | | | ok jsg
* fstat() of opened fd, rather than stat(), to avoid TOCTOUderaadt2015-10-121-5/+3
| | | | ok jsg
* Missing $OpenBSD$'s.krw2015-01-202-0/+2
| | | | ok deraadt@
* Correctly handle files smaller than an ELF header; reported by drahn@bitrigmiod2014-05-181-5/+3
|
* Fix 'make bsd.umg' by skipping PT_OPENBSD_RANDOMIZE segments, as well asmcbride2014-01-011-5/+24
| | | | | | | | | other innocuous segment types (PT_NOTE, PT_NULL). Handle PT_LOAD, fail on any others. Thanks kettenis and millert for feedback ok deraadt
* s/hphdr/phdr/ to fix compile with DEBUGmcbride2013-12-311-2/+2
| | | | ok miod
* Make sure string and symbol tables are properly aligned.patrick2013-11-111-2/+15
| | | | | From and with drahn@bitrig, fgs@, syl@ Tested by aalm@, ok fgs@
* Fix endianess for big endian architecture.syl2013-11-011-67/+89
| | | | | Works with macppc. ok miod@
* Improve mkuboot's ELF handling. This fixes the problem where mkubootpatrick2013-10-285-81/+289
| | | | | | | running on 64-bit systems does not create valid images. While there, append kernel symbols at the end of the kernel. ok syl@
* Beagle has been replaced by armv7.patrick2013-09-041-2/+2
|
* Let mkuboot recognize native ELF binaries and only output the program headersmiod2013-07-281-11/+165
| | | | | | area in this case, to save the need for `objcopy -O binary'; this will make beagle install/upgrade processes easier until they get a native bootloader. Tested by florian@ on panda ES and rapha@ on BeagleBone
* Move mkuboot to the proper location.bmercer2013-05-303-0/+403
OK jasper@ get it in deraadt@