summaryrefslogtreecommitdiff
path: root/usr.sbin/installboot
AgeCommit message (Expand)Author
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
2015-10-14Backout last. Breaks sparc64, amoung other dubiousness.Kenneth R Westerback
2015-10-12Check that the disk specified on the command line is the disk thatKenneth R Westerback
2015-10-11needs at least some include love; choosing <stdlib.h>Theo de Raadt
2015-10-08Refactor fileprefix() and filecopy() to use warn() instead of err()Kenneth R Westerback
2015-10-07Add initial support for installing UEFI boot files to a GTP EFI SystemKenneth R Westerback
2015-10-05Out, damned whitespace!Kenneth R Westerback
2015-10-05Copy the stage2 file to / in md_installboot().Miod Vallat
2015-10-03Nuke trailing whitespace to avoid cluttering possible upcoming diffs.Kenneth R Westerback
2015-09-10Assign the return value of getopt() to an int, not a char, so that optionsMiod Vallat
2015-01-20Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orTheo de Raadt
2015-01-16first batch of cleanup to programs based upon the namespace cleanupsTheo de Raadt
2014-10-08use reallocarray() to detect int overflow; ok dougTheo de Raadt
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-06-25Apply/fix OpenBSD tag.Tobias Stoeckmann
2014-06-25Check malloc return value for NULL.Tobias Stoeckmann
2014-06-09Change the installboot file copying process so that it carefullyJoel Sing
2014-06-09Use calloc() instead of malloc()/memset().Joel Sing
2014-04-27Don't zap disklabel (and next 6 blocks) when installing boot block onKenneth R Westerback
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
2014-02-21Use ${STATIC} not -staticTheo de Raadt
2014-01-19Tweak comment re root prefixes.Joel Sing
2014-01-19Do not prefix user specified stages with the root filesystem mount point.Joel Sing
2014-01-19When copying files do it in 512 byte blocks so that we're less likely toJoel Sing