Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-01 | Fix warnings when building zlib with ZLIB_CONST defined | Jeremie Courreges-Anglas | |
Probably not very useful (given the lack of feedback) but feels more correct. Kernel part tested with option ZLIB_CONST. | |||
2019-05-12 | Add ZLIB_CONST | Jeremie Courreges-Anglas | |
Introduced in zlib-1.2.5.2, used by a few ports. ok deraadt@ | |||
2019-05-11 | we have never built without %b support | Theo de Raadt | |
2019-04-25 | Add movstrSI12_i4 for linking -Os/-Oz kernels. Sadly however it | Theo de Raadt | |
fails and locks early in boot. | |||
2019-04-20 | libsa's memcpy() is actually memmove(). make a proper memmove(), and give | Theo de Raadt | |
memcpy() correct behaviour. This also brings the bcopy() macro into line. | |||
2019-04-10 | change marks[] array to uint64_t, so the code can track full 64-bit | Theo de Raadt | |
details from the ELF header instead of faking it. Proposal from mlarkin, tested on most architectures already | |||
2019-01-25 | I am retiring my old email address; replace it with my OpenBSD one. | Todd C. Miller | |
2018-12-16 | Make the freelist best fit code a tiny bit smarter to not use a block if | Otto Moerbeek | |
half or more would be wasted. Causes more effective re-use of blocks. ok jsing@ | |||
2018-08-10 | Retry on incorrect passphrase for softraid crypto boot. | Joel Sing | |
Historically, the softraid crypto support in the boot loaders has only given one attempt to provide the correct passphrase. There were a few reasons for this, including the fact that pkcs5_pbkdf2() allows an empty passphrase and that returning EPERM allowed for another attempt. With the event of KARL and the need for bsd.booted with hibernate resumption, this becomes much more of an issue - if you get the passphrase wrong you fail to resume. There are also other situations like using /etc/boot.conf to switch serial console, but an incorrect passphrase results in the config not being read. Also, bcrypt_pbkdf() does not permit empty passphrases. This reworks the softraid crypto support in the boot loaders so that it loops requesting a valid passphrase until one is provided, or an empty passphrase is entered (at which point it will abort). ok mortimer@ tb@ | |||
2018-07-13 | Use _ALIGN_TRAPS instead of _ALIGN_TEXT where nops aren't needed. | Philip Guenther | |
ok deraadt@ | |||
2018-07-10 | In asm.h ensure NENTRY uses the old-school nop-sled align, but change standard | Theo de Raadt | |
ENTRY is a trapsled. Fix a few functions which fall-through into an ENTRY macro. amd64 binaries now are free of double+-nop sequences (except for one assember nit in aes-586.pl). Previous changes by guenther got us here. ok mortimer kettenis | |||
2018-07-03 | Add retguard macros for libkern | mortimer | |
ok deraadt | |||
2018-05-23 | Align libsa ctime output with libc ctime output. | cheloha | |
Use zero-padding to get double-digit HH:MM:SS and space-padding for the DOM. ok visa@ | |||
2018-04-25 | use size_t for the size of buffers and strings, not int. | David Gwynne | |
sprinkle some bounded attributes while here. ok deraadt@ | |||
2018-03-31 | Stop converting UDP and IP header values from network endianness to host | Patrick Wildt | |
endianness for convenience reasons. Especially in code pathes like TFTP where the source port is read from the received UDP packet and used as destination port in a new UDP packet this can be very harmful. Luckily this issue has had no effect on our architectures since they never use any of the code paths that could be harmful. ok visa@ | |||
2018-01-17 | Implement basic padding support in libsa so we can do zero-padding | Patrick Wildt | |
in bootloader printfs. Feedback from and ok gerhard@ | |||
2017-11-10 | "unknown KDF type 2" -> "keydisk not found". | Sunil Nimmagadda | |
Inputs and ok jsing@. | |||
2017-10-26 | Add aliases for __aeabi_idivmod and __aeabi_uidivmod calls clang emits. | Jonathan Gray | |
Remainder of the division is already stored in r1 in __divsi3/__udivsi3. ok kettenis@ | |||
2017-10-08 | Revert: libsa lacks memmove currently; a more thorough rename/change is | Philip Guenther | |
needed problem noted by naddy@ | |||
2017-10-07 | bcopy() is expected to be overlap safe, so it implement it with memmove() | Philip Guenther | |
not memcpy(). 'oh oh' deraadt@ | |||
2017-09-08 | If you use sys/param.h, you don't need sys/types.h | Theo de Raadt | |
2017-08-20 | Fix the __sync_* functions to make them work properly | Visa Hankala | |
as full memory barriers. | |||
2017-05-31 | make the AES-XTS mode a little more constant-time, though the AES | Damien Miller | |
implementation that it depends on currently isn't. ok mikeb tom | |||
2017-05-27 | move sha224_initial_hash_value[] under !SHA2_SMALL; ok deraadt@ millert@ | Christian Weisgerber | |
2017-05-21 | Enable radeondrm(4) on loongson to get accelerated graphics | Visa Hankala | |
with the RS780E chipset. OK kettenis@, jsg@ | |||
2017-05-08 | Guard debug printf with NFS_DEBUG ifdef like the other debug prints. | Patrick Wildt | |
ok tom@ | |||
2017-01-24 | In preparation of compiling our kernels with -ffreestanding, explicitly map | Mark Kettenis | |
a few performance-critical functions to compiler builtins. Since the builtins supported by gcc3, gcc4 and clang are not the same, there are (unfortunately) some compiler checks to make sure we only do the mapping for builtins that are actually supported by the compiler. ok jca@, tom@, guenther@ | |||
2016-11-27 | Add missing OpenBSD CVS tags | Reyk Floeter | |
2016-11-25 | Fix signedness warnings with careful casts and replace a re-defined variable. | Reyk Floeter | |
OK krw@ | |||
2016-11-14 | Copy data by using 64-bit loads and stores rather than 32-bit | Visa Hankala | |
operations. This about doubles the routine's throughput. No binary change on the 32-bit bootblocks Discussed with miod@ long ago | |||
2016-09-24 | Add an implementation of __aeabi_ldivmode() and __aeabi_uldivmod(); clang | Mark Kettenis | |
generates calls to these functions when compiling an armv7 kernel. Code from NetBSD's unified userland+kernel implementation, with lots of irrelevant (for us) #ifdefs removed. ok patrick@, guenther@ | |||
2016-09-22 | Add aeabi aliases. | Mark Kettenis | |
ok guenther@, patrick@ | |||
2016-09-18 | Add bcrypt pbkdf support to the softraid crypto boot loader code. | Joel Sing | |
Based on a diff from djm@ | |||
2016-09-18 | Correctly handle short read()s in the libsa gzip handling lseek(). Also | Joel Sing | |
avoid masking the errno from a failed read(). ok guenther@ tom@ | |||
2016-09-17 | move the .SUNW_ctf section name definition to exec_elf.h and document it in ↵ | Jasper Lievisse Adriaanse | |
elf(5) feedback from guenther@ ok guenther@ kettenis@ | |||
2016-09-16 | unifdef SAVE_MEMORY which is no longer set nor used | Jasper Lievisse Adriaanse | |
ok deraadt@ millert@ | |||
2016-09-13 | when loading the kernel binary, also load the .SUNW_ctf section when present, | Jasper Lievisse Adriaanse | |
which holds the CTF data. ok mpi@ | |||
2016-09-11 | Provide initial libsa softraid - this is currently just the data structures | Joel Sing | |
and softraid crypto key handling code. | |||
2016-09-10 | Add bcrypt_pbkdf to libsa, from libutil. This will soon allow the boot | Joel Sing | |
loader to support softraid crypto volumes using bcrypt pbkdf. | |||
2016-09-10 | Add blowfish to libsa, taken from libc - needed for bcrypt_pbkdf. | Joel Sing | |
2016-09-10 | Add sha2 to libsa, taken from libc - needed for bcrypt_pbkdf. | Joel Sing | |
2016-09-10 | Rename libsa pbkdf2.c to pkcs5_pbkdf2.c so that we match libutil. | Joel Sing | |
2016-09-10 | Sync libsa pkcs5_pbkdf2() with libutil. | Joel Sing | |
2016-09-01 | retire sparc | Ted Unangst | |
2016-08-27 | Declare lseek() instead of assuming it'll be provided elsewhere | Philip Guenther | |
ok deraadt@ | |||
2016-05-11 | remove hppa64 port, which we never got going beyond broken single users. | Theo de Raadt | |
hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis | |||
2016-03-23 | remove vax handling | natano | |
ok millert | |||
2016-03-20 | " the the " -> " the ", or in a couple of cases replace the superfluous | Kenneth R Westerback | |
"the" with the obviously intended word. Started with a "the the" spotted by Mihal Mazurek. | |||
2016-03-14 | Change a bunch of (<blah> *)0 to NULL. | Kenneth R Westerback | |
ok beck@ deraadt@ | |||
2016-03-10 | more pieces of vax | Theo de Raadt | |