Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-26 | (char *)0 -> NULL | mmcc | |
ok tedu@ | |||
2015-10-26 | Cast isdigit()'s argument to unsigned char. | mmcc | |
ok guenther@ | |||
2015-10-01 | Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one | Philip Guenther | |
case, by deleting some useless '& of an array' we also eliminate the need for the casts which prompted the original lint warnings ok deraadt@ | |||
2015-09-18 | Remove orphaned files. | Miod Vallat | |
2015-09-14 | unify free(NULL,size) behaviour by allowing passing NULL | Sebastien Marie | |
ok millert@ jasper@ | |||
2015-09-02 | Initial commit of uefi boot loader of OpenBSD. | YASUOKA Masahiko | |
ok deraadt yuo | |||
2015-08-15 | When sendrecv() returns -1, have rpc_call() return -1 as well. Otherwise, due | Miod Vallat | |
to the cast to unsigned, it fails the error test and returns a bogus partial read to the caller, which is painful to debug. | |||
2015-08-15 | Use signed variables to store the result of rpc_call(). | Miod Vallat | |
2015-07-17 | Remove {LOAD,COUNT}_TEXTA from libsa loadfile, it only made sense for a.out | Miod Vallat | |
kernels and we no longer have any. | |||
2015-07-17 | Adjust type of link_len to match type of di_size in underlying struct, and | Kent R. Spillner | |
change type of len to size_t to match strlen(3) result. Drop unneeded casts. u_int64_t is overkill because the actual size is still limited to SYMLINK_MAX but it is probably better to match the filesystem types. ok miod@, guenther@ | |||
2015-07-16 | Expand ancient NTOHL/NTOHS/HTONS/HTONL macros. | Martin Pieuchot | |
ok guenther@, henning@ | |||
2015-06-14 | Fix 1.26; kdoprnt() should not attempt to invoke va_end() at all, it's the | Miod Vallat | |
caller's responsibility to do so. | |||
2015-06-08 | At some point arm moved to a unified syntax for arm and thumb instructions. | Jonathan Gray | |
While binutils supports both "unified" and "divided" syntax (defaulting to divided) the integrated assembler in clang only supports unified names so switch some files to unified syntax. Similiar changes were made in bitrig and freebsd. No difference in objdump -d output. tested on zaurus by deraadt@, ok miod@ | |||
2015-05-19 | Extend the libsa loadfile(9) granularity to tell apart randomness from the rest | Miod Vallat | |
of the kernel, and extend the array filled by loadfile to report the location of the randomness area. This doesn't introduce any change for bootblocks (save for a slightly larger stack usage due to the larger array), for the new {LOAD,COUNT}_RANDOM bits are included in the {LOAD,COUNT}_ALL masks everything uses or computes from. | |||
2015-03-14 | Remove some includes include-what-you-use claims don't | Jonathan Gray | |
have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@ | |||
2015-03-10 | Remove unused static local variable; mickey@ | Miod Vallat | |
2015-03-10 | Invoke va_end() before returning, rather than in an unreachable place; mickey@ | Miod Vallat | |
2015-02-05 | Include sys/stdint.h for SIZE_MAX. OK deraadt@ miod@ | Todd C. Miller | |
2015-01-20 | Revert some $OpenBSD$ additions about which there are doubts. | Kenneth R Westerback | |
Suggested by deraadt@ | |||
2015-01-20 | Missing $OpenBSD$'s. | Kenneth R Westerback | |
ok deraadt@ | |||
2015-01-19 | Make some $OpenBSD$ lines prettier/standardier by eliminating | Kenneth R Westerback | |
superflous '*' after '/*' and adding blank after terminating '$'. Also eases parsing of the lines by simple awk scripts. Aesthetic approval from tedu@. | |||
2015-01-15 | Sync with libc version. | Todd C. Miller | |
2014-12-30 | unifdef __APCS_26__ we don't run on anything with a 26 bit program counter. | Jonathan Gray | |
This codepath was removed in the NetBSD code this is derived from back in 2003 and was removed in Bitrig earlier this year. No binary change. | |||
2014-12-20 | Replacing <machine/endian.h> with <sys/endian.h> does not imply removing | Miod Vallat | |
<sys/types.h>. kthxbye | |||
2014-12-19 | Use <sys/endian.h> instead of <machine/endian.h> | Philip Guenther | |
ok dlg@ mpi@ bcook@ millert@ miod@ | |||
2014-12-19 | sync with libc, using brnz,pt instead, should be better | Theo de Raadt | |
ok kettenis | |||
2014-12-09 | Like libc, also for the kernel: Import new amd64 assembly versions of | Reyk Floeter | |
strchr/index, strrchr/rindex, and strlen that provide a significantly faster performance than our previous .c or .S implementations. Based on NetBSD's code. Tested with different amd64 CPUs. ok deraadt@ mikeb@ | |||
2014-11-29 | it should not be necessary to clear the direction flag | Ted Unangst | |
ok deraadt | |||
2014-11-21 | mask off high bits from 'c', before operation, otherwise the packing | Theo de Raadt | |
logic writes balony. Hunting with tedu, mlarkin, and final bit spotted by naddy in freebsd's version. | |||
2014-11-20 | Yet more #include de-duplication. | Kenneth R Westerback | |
ok deraadt@ tedu@ | |||
2014-11-19 | Sprinkle const whenever possible. | Miod Vallat | |
2014-11-19 | Move {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-11-19 | Ansify. | Miod Vallat | |
2014-11-19 | Make the past-ELAST libsa-specific errno values contiguous. | Miod Vallat | |
2014-11-19 | Remove braindead prototype for a nonexistent function. | Miod Vallat | |
2014-11-19 | Sprinkle const in static (internal) routines. | Miod Vallat | |
2014-11-18 | Nuke yet more obvious #include duplications. | Kenneth R Westerback | |
ok miod@ | |||
2014-11-09 | typo | Miod Vallat | |
2014-10-26 | Read the section header string table in the boot blocks' memory, not in the | Miod Vallat | |
loaded image area. | |||
2014-10-09 | ddb: add support for DWARF line number decoding | Matthew Dempsky | |
This allows ddb's "trace" command to include file and line numbers: ddb{0}> trace Debugger() at Debugger+0x9 [../../../../arch/amd64/amd64/db_interface.c:405] ddb_sysctl() at ddb_sysctl+0x1b4 [../../../../ddb/db_usrreq.c:104] sys___sysctl() at sys___sysctl+0x216 [../../../../kern/kern_sysctl.c:229] syscall() at syscall+0x297 [../../../../sys/syscall_mi.h:84] --- syscall (number 202) --- end of kernel end trace frame: 0x7f7ffffcf1d7, count: -4 acpi_pdirpa+0x4117aa: For this to work, it requires using a new version of boot(8), and booting a kernel with the .debug_line section present (e.g., building with ``makeoptions DEBUG="-g"'' and then booting the bsd.gdb kernel instead of the stripped bsd kernel). Still a WIP, but no failure reports yet. Committing so further development and testing can happen in tree. prodding deraadt, guenther, mlarkin ok mpi | |||
2014-07-22 | use NULL instead of (foo *)0; Kent R. Spillner | Theo de Raadt | |
2014-07-22 | remove unneccessary casts; Kent R. Spillner | Theo de Raadt | |
2014-07-16 | zap trailing newlines; "go for it" deraadt | Okan Demirmen | |
2014-07-13 | KASSERTMSG(9): New kernel assertion with message | Masao Uebayashi | |
KASSERT() is annoying as it only prints the expression as a string. If you (developers) want to know a little more information, you have to do: #ifdef DIAGNOSTIC if (bad) panic(...); #endif KASSERTMSG() replaces it into a single line: KASSERTMSG(!bad, ...); Taken from NetBSD. (There is a concern that KASSERT() messages are too long; consume more memory, and not friendly for small monitors. This have to be considered & revisited later.) "Like" from henning@ Man page review & advices from jmc@ and schwarze@ | |||
2014-07-13 | obvious conversion to mallocarray() | Theo de Raadt | |
2014-07-13 | Stop using old n_long and n_short types. | Martin Pieuchot | |
2014-07-13 | move putchar() into libsa | Jasper Lievisse Adriaanse | |
"sure" miod@ | |||
2014-07-12 | move getchar() into libsa where applicable | Jasper Lievisse Adriaanse | |
ok miod@ | |||
2014-07-12 | guenther (who also should have been credited in previous free size commits) | Ted Unangst | |
noticed that i missed committing one file. | |||
2014-07-01 | Make normalizeRoundAndPackFloat{32,64} non-static; they will be used outside | Miod Vallat | |
of softfloat.c shortly. |