summaryrefslogtreecommitdiff
path: root/sys/stand/boot
AgeCommit message (Expand)Author
2023-03-13"ask name" option letter is 'n' instead of 'a' on pmax and alpha for historicalMiod Vallat
2023-02-23Remove dangerous user-settable "addr" variable from MI boot loader, andMiod Vallat
2022-06-27Revert 1.44; that slow getsecs() workaround had been added for the sake ofMiod Vallat
2021-10-26Improve unhibernate performance (30% on some machines, another upcoming diffTheo de Raadt
2021-10-24#define open O_* flags in libsa/stand.h, so that bootblocks can useTheo de Raadt
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
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
2011-04-17Tweak the behaviour of boot(8) on hppa. Normal boots now will give you aMark Kettenis
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-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
2004-06-26Simplify expression in loop.Tom Cosgrove
2004-06-25Avoid spurious error message "line too long" (introduced with last commit,Tom Cosgrove
2004-06-24Identify ourselves on the new console device when it's changed.Tom Cosgrove
2004-06-24Turn off timeouts if the user types anything at all. This prevents anTom Cosgrove
2004-06-24Minor changes (structural, not behavioural) in order to support a regressTom Cosgrove
2004-06-24Add comment explaining what "bootprompt" is forTom Cosgrove
2004-06-24If a line in boot.conf is too long for our buffer, stop before weTom Cosgrove
2004-01-29Allow the machine-dependent part of BOOT to change the program name.Tom Cosgrove