summaryrefslogtreecommitdiffstats
path: root/sys/stand/boot/boot.c
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,deraadt1-11/+16
2020-05-25If either mdrandom() or fwrandom() return 0, set RB_GOODRANDOMderaadt1-3/+5
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 -xderaadt1-2/+15
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 defaultflorian1-1/+6
2018-04-08Add a hook to use a firmware-supplied random function in addition to thekettenis1-1/+4
2017-06-19As early as possible, create a link /bsd.booted to the /bsd kernel wederaadt1-1/+11
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 thederaadt1-13/+5
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 additionallyderaadt1-7/+52
2011-04-17Tweak the behaviour of boot(8) on hppa. Normal boots now will give you akettenis1-2/+3
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.drahn1-2/+2
2007-05-29remove support for many alternative kernel choices -- only try /bsd andderaadt1-14/+8
2004-06-24Turn off timeouts if the user types anything at all. This prevents antom1-4/+5
2004-06-24Add comment explaining what "bootprompt" is fortom1-1/+3
2004-01-29Allow the machine-dependent part of BOOT to change the program name.tom1-2/+7
2003-08-11ansification and knf and protosderaadt1-5/+4
2003-06-02three four kill ... dale agrees on this one as he holds a kprite on it toomickey1-6/+1
2003-06-01strcpy/strcat/sprintf removal in all bootblocks. various testing byderaadt1-7/+8
2003-05-19allow md part to skip the interactive part (the first try around)mickey1-2/+7
2003-04-17oopsmickey1-2/+2
2003-04-17there is no reason to keep both around. just renamemickey1-2/+12
2000-12-29OpenBSD/machine banner, not machine_archmickey1-2/+2
1998-07-08use KERNEL_DEFAULT_ADDRESS from MD libsa.h for default kernel load addressmickey1-2/+2
1998-05-30save spacederaadt1-4/+4
1998-05-30add bsd.old, bsd.old.gz kernels.mickey1-4/+5
1998-05-25make a new file for variable manipulation code; add environment supportmickey1-2/+2
1998-05-14nicer boot messagemickey1-2/+2
1998-02-24Various fixes (timeout, uninited vars), as well as some semanticsweingart1-10/+17
1997-09-02dead varsmickey1-2/+1
1997-08-22theo said we don't need 'cd' commandmickey1-4/+3
1997-08-21boothowto is local to bootmickey1-5/+5
1997-08-13print boot message on the right consolemickey1-3/+4
1997-08-06cmd is global anyways, don't pass it to handlersmickey1-3/+3
1997-07-21indent (;mickey1-3/+3
1997-07-18most of the stuff is no in libsa, very tiny srt0mickey1-19/+11
1997-05-31usleep won't work on some weird laptopsmickey1-3/+3
1997-04-26boot.conf supportmickey1-9/+11
1997-04-21rewrite command processing.mickey1-19/+10
1997-04-14kill extra linefeedingderaadt1-14/+13
1997-04-05devboot is no longer in boot.cmickey1-35/+1