summaryrefslogtreecommitdiffstats
path: root/sys/stand/boot
AgeCommit message (Expand)AuthorFilesLines
2020-06-15align the random buffer so mdrandom() can fill it with register-widthnaddy1-2/+2
2020-05-26/etc/random.seed reuse can now be detected. The stat +T bit marks the filederaadt1-1/+7
2020-05-25make loadrandom() return 0 for success, -1 for failure. While here,deraadt2-13/+18
2020-05-25If either mdrandom() or fwrandom() return 0, set RB_GOODRANDOMderaadt1-3/+5
2020-05-25Adjust fwrandom() to return 0 for sucess, -1 for failurederaadt1-3/+3
2019-12-02For 32 bit systems, cast the long long used by strtoll() to unsigned longderaadt1-2/+2
2019-11-28Implement a hexdump command in the boot loader. This helps tobluhm1-1/+26
2019-10-29Use arc4 to bit-spread the 512-byte random buffer over the .openbsd.randomdataderaadt1-1/+5
2019-08-03In the bootblocks, after discovering and opening /bsd.upgrade, fchmod -xderaadt2-3/+20
2019-05-10Fix prototype of upgrade(). OK benno@claudio1-2/+2
2019-04-10Unbreak "boot bsd.up" line in /etc/boot.confflorian1-3/+3
2019-04-10change marks[] array to uint64_t, so the code can track full 64-bitderaadt1-2/+2
2019-04-08Detect /bsd.upgrade kernel and boot it if present instead of defaultflorian3-3/+18
2018-04-08Add a hook to use a firmware-supplied random function in addition to thekettenis2-3/+7
2017-06-19As early as possible, create a link /bsd.booted to the /bsd kernel wederaadt1-1/+11
2015-09-02Initial commit of uefi boot loader of OpenBSD.yasuoka2-2/+48
2014-07-20Merge cmd.c from zboot into boot, dropping "clear" command while at it.tobias1-26/+21
2014-07-11whatever mickey had to drink 13 years ago, he's not going to find it again. sojasper1-14/+1
2014-06-27Avoid buffer overflow on max line length by ending string with just one \0.tobias1-2/+2
2014-06-27Avoid buffer overflow if there were too many arguments, also adjust lenptobias1-7/+9
2014-02-19Don't try to close(-1) if EPERM.miod1-4/+3
2014-01-24OK, loadrandom should not care about EPERM I supposederaadt1-1/+3
2014-01-24remove irrelevant error handling in loadrandom; this operates on thederaadt2-15/+7
2014-01-24Only report about random seed failures, not attempts.deraadt1-4/+4
2014-01-02loadrandom() status should be ignored, so that we do not loop.deraadt1-4/+5
2013-12-28Try to load entropy data from disk:/etc/random.seed, and additionallyderaadt2-8/+56
2013-12-23remove junkderaadt1-11/+1
2011-04-17Tweak the behaviour of boot(8) on hppa. Normal boots now will give you akettenis1-2/+3
2009-04-30add another settable variable called db_console which the MD parts of adlg1-1/+31
2009-02-16Cancel the automatic boot when you hold ctrl to skip boot.conf.sthen1-1/+2
2007-06-26loadfile() returns an open file descriptor on successful exit, sotom1-2/+5
2007-06-24When bootfile was made global so that macppc could modify it, ittom1-6/+6
2007-06-13Switch macppc to the interactive bootloader in stand/boot.drahn2-4/+5
2007-05-29remove support for many alternative kernel choices -- only try /bsd andderaadt1-14/+8
2007-04-27Check for Control key held down when starting, and don't read boot.conftom1-1/+12
2007-02-21hand-cruft an isprint() for deciding which characters to echo to thederaadt1-6/+8
2005-05-24printf(s) -> printf("%s", s)uwe1-2/+2
2004-06-26Simplify expression in loop.tom1-2/+2
2004-06-25Avoid spurious error message "line too long" (introduced with last commit,tom1-3/+12
2004-06-24Identify ourselves on the new console device when it's changed.tom1-1/+3
2004-06-24Turn off timeouts if the user types anything at all. This prevents antom2-5/+9
2004-06-24Minor changes (structural, not behavioural) in order to support a regresstom2-7/+20
2004-06-24Add comment explaining what "bootprompt" is fortom1-1/+3
2004-06-24If a line in boot.conf is too long for our buffer, stop before wetom1-9/+20
2004-01-29Allow the machine-dependent part of BOOT to change the program name.tom2-5/+10
2003-11-08typos from Jonathon Gray;jmc1-2/+2
2003-08-11ansification and knf and protosderaadt5-75/+61
2003-06-02three four kill ... dale agrees on this one as he holds a kprite on it toomickey1-6/+1
2003-06-02three four kill ...mickey5-30/+5
2003-06-01strcpy/strcat/sprintf removal in all bootblocks. various testing byderaadt6-37/+48