summaryrefslogtreecommitdiff
path: root/sys/stand
AgeCommit message (Expand)Author
2020-06-15align the random buffer so mdrandom() can fill it with register-widthChristian Weisgerber
2020-05-26/etc/random.seed reuse can now be detected. The stat +T bit marks the fileTheo de Raadt
2020-05-25make loadrandom() return 0 for success, -1 for failure. While here,Theo de Raadt
2020-05-25If either mdrandom() or fwrandom() return 0, set RB_GOODRANDOMTheo de Raadt
2020-05-25Adjust fwrandom() to return 0 for sucess, -1 for failureTheo de Raadt
2019-12-02For 32 bit systems, cast the long long used by strtoll() to unsigned longTheo de Raadt
2019-11-28Implement a hexdump command in the boot loader. This helps toAlexander Bluhm
2019-10-29Use arc4 to bit-spread the 512-byte random buffer over the .openbsd.randomdataTheo de Raadt
2019-08-03In the bootblocks, after discovering and opening /bsd.upgrade, fchmod -xTheo de Raadt
2019-05-10Fix prototype of upgrade(). OK benno@Claudio Jeker
2019-04-10Unbreak "boot bsd.up" line in /etc/boot.confFlorian Obser
2019-04-10change marks[] array to uint64_t, so the code can track full 64-bitTheo de Raadt
2019-04-08Detect /bsd.upgrade kernel and boot it if present instead of defaultFlorian Obser
2018-04-08Add a hook to use a firmware-supplied random function in addition to theMark Kettenis
2017-06-19As early as possible, create a link /bsd.booted to the /bsd kernel weTheo de Raadt
2017-02-28Update header to clean up defines, add the SATA device path and thePatrick Wildt
2017-01-20Fix (currently unused) GUID definitions to match the EFI_GUID struct.Jonathan Gray
2016-12-13Add an efibind.h for arm64. Taken from edk2, modified to be similarPatrick Wildt
2016-05-11Add an efibind.h for arm; from FreeBSD.Mark Kettenis
2016-05-11Move EFI header files to a location where they can be used on otherMark Kettenis
2015-09-02Initial commit of uefi boot loader of OpenBSD.YASUOKA Masahiko
2014-07-20Merge cmd.c from zboot into boot, dropping "clear" command while at it.Tobias Stoeckmann
2014-07-11whatever mickey had to drink 13 years ago, he's not going to find it again. soJasper Lievisse Adriaanse
2014-06-27Avoid buffer overflow on max line length by ending string with just one \0.Tobias Stoeckmann
2014-06-27Avoid buffer overflow if there were too many arguments, also adjust lenpTobias Stoeckmann
2014-02-19Don't try to close(-1) if EPERM.Miod Vallat
2014-01-24OK, loadrandom should not care about EPERM I supposeTheo de Raadt
2014-01-24remove irrelevant error handling in loadrandom; this operates on theTheo de Raadt
2014-01-24Only report about random seed failures, not attempts.Theo de Raadt
2014-01-02loadrandom() status should be ignored, so that we do not loop.Theo de Raadt
2013-12-28Try to load entropy data from disk:/etc/random.seed, and additionallyTheo de Raadt
2013-12-23remove junkTheo de Raadt
2013-06-01Remove the old mkuboot since it was moved.Brandon Mercer
2013-05-30Make mkuboot install into the path so we can use it during builds.Brandon Mercer
2011-04-17Tweak the behaviour of boot(8) on hppa. Normal boots now will give you aMark Kettenis
2010-07-10Remove debug print left in on last commit.Dale Rahn
2010-06-30tweak previous;Jason McIntyre
2010-06-30Add support for naming images and setting the type, including boot scripts.Dale Rahn
2010-03-10fix the option that sets the image operating system.Igor Sobrado
2010-02-12Add mkuboot, a utility to build images for Das U-Boot.Michael Knudsen
2009-04-30add another settable variable called db_console which the MD parts of aDavid Gwynne
2009-02-16Cancel the automatic boot when you hold ctrl to skip boot.conf.Stuart Henderson
2007-06-26loadfile() returns an open file descriptor on successful exit, soTom Cosgrove
2007-06-24When bootfile was made global so that macppc could modify it, itTom Cosgrove
2007-06-13Switch macppc to the interactive bootloader in stand/boot.Dale Rahn
2007-05-29these standalone commands are never used anymore; ok tomTheo de Raadt
2007-05-29remove support for many alternative kernel choices -- only try /bsd andTheo de Raadt
2007-04-27Check for Control key held down when starting, and don't read boot.confTom Cosgrove
2007-02-21hand-cruft an isprint() for deciding which characters to echo to theTheo de Raadt
2005-05-24printf(s) -> printf("%s", s)Uwe Stuehler