summaryrefslogtreecommitdiff
path: root/usr.sbin/installboot
AgeCommit message (Expand)Author
2019-10-29don't print a blank line if no stage1 or stage2 aspectsTheo de Raadt
2019-09-02Fix copyright lines, the "one-inode file system" in i386_softraid.c is myOtto Moerbeek
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-12-13Revert last. Breaks landisk snap building for currently unknownKenneth R Westerback
2018-11-25Don't allow the bootstrap to overlap the start of the OpenBSD area ofKenneth R Westerback
2018-11-07avoid freeing r twice in error case; OK otto@miko
2018-09-01Remove 'overlap_allowance' parameter from bootstrap().Kenneth R Westerback
2018-07-03installboot: adapt fileprefix() to future realpath(3) behaviorJoshua Stein
2017-10-27Use <elf.h> instead of <elf_abi.h>Martin Pieuchot
2017-06-04Malloc the superblock buffer to make sure that it is properly aligned.Christian Weisgerber
2017-05-07Add arm64 support.Mark Kettenis
2016-08-14Merge identical amd64 and i386 stanzas.Kenneth R Westerback
2016-07-20Use more compact idiom to select architecture dependent files to compile. NoKenneth R Westerback
2016-06-02Rename findmbrlinux() to findmbrfat(). This function was originallyJonathan Gray
2016-05-31Add support for armv7. Fix an error message in the i386 support beforeMark Kettenis
2016-05-23Use PATH_MAX instead of a hardcoded minimal value. Stack space is cheap andMark Kettenis
2016-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
2016-04-28Plug a couple of leaks of input buffers.Kenneth R Westerback
2016-03-09We are done providing support for the vax.Theo de Raadt
2016-02-18sync() requires unistd.hTobias Ulmer
2016-01-15sync() needs unistd.hTobias Ulmer
2015-12-28Replace lseek/[read|write] with pread|pwrite.Kenneth R Westerback
2015-12-24Make gpt_chk_mbr() instances even more identicaller by alwaysKenneth R Westerback
2015-12-24Make all instances of gpt_chk_mbr() identical (bar static vsKenneth R Westerback
2015-12-24Add prototype for gpt_chk_mbr() to i386_installboot.c. Add 'static' toKenneth R Westerback
2015-12-20Remove unnecessary options:Robert Peichaer
2015-12-10Remove NULL-checks before free(). ok tb@mmcc
2015-12-01Steal code from kern/subr_disk.c to check for a protective MBR beforeKenneth R Westerback
2015-12-01aviion went awayTheo de Raadt
2015-12-01Don't need <sys/types.h> and <sys/param.h>. Nuke the former when DEV_BSIZEKenneth R Westerback
2015-11-30Revert the sync -> fsync conversion (at least for the time being) - thereJoel Sing
2015-11-29give up on pledge for now.Theo de Raadt
2015-11-26Apply pledge.Theo de Raadt
2015-11-04fix a memory leak in multiple error pathsJonathan Gray
2015-11-03fix a memory leak in an error pathJonathan Gray
2015-10-28Backout the backout of installboot softraid non-gpt case fix.Stefan Sperling
2015-10-28Revert GPT change. Breaks non-GPT install/upgrade.Kenneth R Westerback
2015-10-28In sr_install_bootblk for i386, don't clobber 'part' in non-GPT case.Stefan Sperling
2015-10-25Fix installboot(8) on i386/amd64 when softraid is on top of GPT.Stefan Sperling
2015-10-19Add parenthesis gcc wants and remove defined but unused label gccKenneth R Westerback
2015-10-19LABELSECTOR is a DEV_BSIZE quantity. So multiply by DEV_BSIZE and notKenneth R Westerback
2015-10-19Nuke unused variable.Kenneth R Westerback
2015-10-18Fix comments.Robert Peichaer
2015-10-16Check file sizes only for regular files. The current code breaks savecoreTobias Stoeckmann
2015-10-16Merge nlist out of boundary access fix with other nlist implementations.Tobias Stoeckmann
2015-10-15Add an extra argument to bootstrap() to allow for a limited overlap between anMiod Vallat
2015-10-15give up; include stdlib.h from the .h file, sighTheo de Raadt
2015-10-14worse, need even more includes...Theo de Raadt
2015-10-14add includes for crc32() and uuid_dec_be() missed in rev 1.11Jonathan Gray