summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/stand
AgeCommit message (Collapse)Author
2017-10-17remove the remaining references to .depend files since nothing creates themChristian Weisgerber
any longer; ok espie@ deraadt@
2016-11-06Do not create machine@ symlinks in obj as root during includes:, butTheo Buehler
defer their creation to later, so that they are owned by BUILDUSER. This eliminates the last root-owned files in obj/ from 'make build'. In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc to avoid creating bogus symlinks on all other archs. joint work with & ok natano, "let's try it" deraadt
2016-09-18Bump boot loader versions due to bcrypt pbkdf support.Joel Sing
2016-09-18Add bcrypt pbkdf support to the softraid crypto boot loader code.Joel Sing
Based on a diff from djm@
2016-09-13crank bootloader version after .SUNW_ctf changeJasper Lievisse Adriaanse
as discussed with jsing@ it's easier this way to ensure people have bootblocks capable of loading the section
2016-09-11Switch sparc64 boot code to libsa MI softraid.Joel Sing
2016-09-11Update header guards.Joel Sing
2016-09-11Rename softraid boot files, which are currently in an MD location. ThisJoel Sing
will allow us to bring in a MI softraid.{c,h} in lib/libsa.
2016-09-10Clean up some softraid crypto code - rename struct sr_crypto_kdf_pbkdf2 toJoel Sing
sr_crypto_pbkdf (since it is useable for more than just pkcs5_pbkdf2) and embed a struct sr_crypto_genkdf within it, rather than redeclaring the same fields. Rename SR_CRYPTOKDFT_PBKDF2 to SR_CRYPTOKDFT_PCKS5_PBKDF2 and add SR_CRYPTOKDFT_BCRYPT_PBKDF for upcoming changes.
2016-09-10Rename libsa pbkdf2.c to pkcs5_pbkdf2.c so that we match libutil.Joel Sing
2016-07-30Prep for relro: make sure it's off for any non-PIE stand/ programPhilip Guenther
ok millert@ kettenis@
2016-03-14Change a bunch of (<blah> *)0 to NULL.Kenneth R Westerback
ok beck@ deraadt@
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
ok mpi@
2016-01-20Check for disks deeper than 4 levels down in the Open Firmware device tree.Stefan Sperling
Makes softraid(4) boot possible on more sparc64 machines. Tested on Sun Fire machines by mikeb@ and Alexander Bochmann via misc@ ok mikeb@
2015-11-16Replace unbounded gets() in libsa with getln() which takes a buffer size,Miod Vallat
and convert all gets() users. ok deraadt@
2015-10-28Support backspace in softraid boot passphrase prompt.Joel Sing
From uwe@
2015-10-01Remove more blinding trailing whitespace.Kenneth R Westerback
2015-09-14unify free(NULL,size) behaviour by allowing passing NULLSebastien Marie
ok millert@ jasper@
2015-07-23Missed file in *_data_offset -> *_data_blkno switch.Kenneth R Westerback
Found the hardway by benoit@.
2015-07-19Use DEV_BSIZE instead of 512 where appropriate. Use DL_SECTOBLK()Kenneth R Westerback
where appropriate. Noop for disks with 512-byte sectors. i.e. the only kind currently allowed in softraid volumes. But starts laying the groundwork to allow disks with other sector sizes. ok jsing@
2014-12-11Delete #ifdef'd code that hasn't been compiled in years from sparc64 ofwboot.Stefan Sperling
ok miod@
2014-12-09Check strlcpy(), strlcat(), and snprintf() return values in sparc64 ofwboot.Stefan Sperling
tweak and ok millert@ miod@
2014-12-04The sparc64 Open Firmware package-to-path call (used since softraid bootStefan Sperling
support was introduced) may return a device path without a unit number?!? Open Firmware's open-dev routine will crash if given such a path, rendering the system unbootable. Repair such paths by adding unit number "0". Breakage found by sebiasta@ on a Sun Enterprise E450, fix tested by him. helpful hints from deraadt@
2014-11-26Introduce softraid boot support to sparc64 ofwboot.Stefan Sperling
sparc64 machines should now be able to boot from softraid raid1 and crypto. Tested on sun blade100, sunfire v240, and sun t1000 ldom guests. Lots of encouragement from deraadt@
2014-11-26Add softraid support to sparc64 first-level boot blocks.Stefan Sperling
Written with use of the forth by jedi jsing@ For now this only supports 'a' RAID partitions, no other partition letters.
2014-11-26Add softraid boot support code files ported by me to sparc64 from amd64.Stefan Sperling
Not hooked to the build yet. ok kettenis@
2014-11-26Copy some Open Firmware interface functions from the kernel to ofwboot.Stefan Sperling
Will be needed soon. ok kettenis@
2014-11-26Hook ofwbootfd to the build.Stefan Sperling
2014-11-26Add a separate ofwboot build for the sparc64 floppies.Stefan Sperling
2014-11-22Switch to using MI installboot, after a conversation with stsp. He willTheo de Raadt
need this soon. install tested by jsg
2014-11-19Move {recv,send}udp() out of net.c into their own file; to be used shortly.Miod Vallat
Add the new files to the few md libsa builds which require it.
2014-10-16No longer used.Mark Kettenis
2014-10-16The "close" word doesn't return any arguments.Mark Kettenis
Pointed out by Mark Cave-Ayland.
2014-08-21Kill the remaining <netinet/in_systm.h> inclusion!Martin Pieuchot
2014-07-15mode 644 for installing these filesTheo de Raadt
2014-07-12revert a few stragglers hiding outTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
after discussions with beck deraadt kettenis.
2014-07-06Build with -Wall. Make sure main() returns zero.Miod Vallat
(found the hard way by building with -fstack-shuffle)
2014-06-08Remove an incorrect bzero() that was zeroing theJonathan Gray
size of the pointer instead of the size of the buffer. Removal suggested by deraadt@ as no code uses the buffer after the zeroing.
2014-06-08instead of reading past the end of the sun_fstypes arrayJonathan Gray
assume FS_BSDFFS for partitions 8-15 in extended sun labels as suggested by deraadt@
2013-12-28Try to load entropy data from disk:/etc/random.seed. Then, insert this intoMark Kettenis
the ELF openbsd.randomdata of the kernel, so that it has entropy right from the start.
2013-12-28crank the versionTheo de Raadt
2013-12-27remove lots from the Makefile, since this never depended on libsa.Theo de Raadt
2013-11-05Replace direct references to p_size, p_offset and d_secperunit withKenneth R Westerback
DL_[GET|SET]PSIZE(), DL_[GET|SET]POFFSET(), DL_[GET|SET]DSIZE() in order to get|set correct value that includes the high bits of the value.
2013-10-30Stop using cpp -tradition for fcode; handle the inclusion of aPhilip Guenther
generated file using awk instead. ok miod@
2013-10-20(daddr_t) -> (u_int64_t) when multiplying ncylinders * secpercyl toKenneth R Westerback
get disk size, since DL_SETDSIZE() takes disk sector values, not 512-byte block values.
2013-09-29various fixes to sync usage() with SYNOPSIS, and make these pages a bitJason McIntyre
more consistent; feedback/ok miod
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-03-21NBPG -> PAGE_SIZE, PGSHIFT -> PAGE_SHIFT, PGOFSET -> PAGE_MASKTheo de Raadt
2013-01-01Remove libsa exec.c, not used by anything anymore; all boot blocks now useMiod Vallat
loadfile or a derivative of.