Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reference hosts(5) instead of networks(5) | schwarze | 2018-04-28 | 1 | -3/+3 |
| | |||||
* | Remove references to the obsolete getnetent(3) and networks(5). | schwarze | 2018-04-28 | 2 | -10/+7 |
| | |||||
* | Stop talking about /etc/networks, which is no longer used, | schwarze | 2018-04-28 | 1 | -39/+38 |
| | | | | | | and reference gethostby*(3) and /etc/hosts instead. Say that setnetent(3), getnetent(3), and endnetent(3) now do nothing. With feedback from guenther and significant help from deraadt@. | ||||
* | Say that sethostent(3), gethostent(3), and endhostent(3) do nothing. | schwarze | 2018-04-28 | 1 | -50/+19 |
| | | | | | | While here, stop implying plans to support additional address families in the future, and do not call gethostbyname2(3) "advanced". OK deraadt@ guenther@ | ||||
* | To allow us to get rid of /etc/networks, make setnetent(3), | schwarze | 2018-04-28 | 1 | -75/+4 |
| | | | | | | getnetent(3), and endnetent(3) do nothing, just like sethostent(3), gethostent(3), and endhostent(3) years ago. OK deraadt@ guenther@ | ||||
* | sys/uio.h is not used anymore | otto | 2018-04-07 | 1 | -3/+2 |
| | |||||
* | fix MALLOC_STATS; spotted by and ok semarie@ | otto | 2018-03-30 | 1 | -1/+5 |
| | |||||
* | use _ALIGN() which is uhm a bit OpenBSD-specific, but it means we | deraadt | 2018-03-06 | 1 | -3/+2 |
| | | | | | | don't need to use sys/param.h at all, guess which one i believe is greater namespace polution ok otto | ||||
* | Use _MAX_PAGE_SHIFT, rather than #ifdef mips64 | deraadt | 2018-03-05 | 1 | -6/+2 |
| | | | | ok guenther kettenis | ||||
* | use consistent style for for loop in unmap(), no functional change | otto | 2018-02-07 | 1 | -4/+2 |
| | |||||
* | keep in sync with ld.so malloc.c | otto | 2018-01-30 | 1 | -2/+3 |
| | |||||
* | word fix; from edgar pettijohn | jmc | 2018-01-30 | 1 | -3/+3 |
| | |||||
* | - An error in the multithreaded case could print the wrong function name | otto | 2018-01-28 | 1 | -12/+23 |
| | | | | | | | - Start with a full page of struct region_info's - Save an mprotect in the init code: allocate 3 pages with none and make the middle page r/w instead of a r/w allocation and two calls to make the guard pages none | ||||
* | - do not junk pages returned by free_bytes(), all freed chunks are already | otto | 2018-01-26 | 1 | -19/+19 |
| | | | | | junked - freezero(): only clear requested size | ||||
* | Zap the rotor, it was a wrong idea. Cluebat applied by kshe who | otto | 2018-01-18 | 1 | -6/+3 |
| | | | | | came also up with this diff. Simple, no bias and benchmarks show the extra random calls disappear in te measurement noise. | ||||
* | Move to ffs(3) for bitmask scanning. I played with this earlier, | otto | 2018-01-18 | 1 | -21/+11 |
| | | | | | | | but at that time ffs function calls were generated instead of the compiler inlining the code. Now that ffs is marked protected in libc this is handled better. Thanks to kshe who prompted me to look at this again. | ||||
* | Instead of trying to handle ffs() with the normal rename-mark-hidden-and-alias | guenther | 2018-01-18 | 2 | -4/+6 |
| | | | | | | | dance, mark it protected. This works better for both gcc and clang: gcc blocks overriding of internal calls, while clang permits inlining again. ok otto@ | ||||
* | Adjust references for sysctl(3) to sysctl(2) | deraadt | 2018-01-12 | 1 | -4/+4 |
| | |||||
* | optimization and some cleanup; mostly from kshe (except the unmap() part) | otto | 2018-01-08 | 1 | -67/+51 |
| | |||||
* | Only init chunk_info once, plus some moving of code to group related functions. | otto | 2018-01-01 | 1 | -273/+267 |
| | |||||
* | step one in avoiding unneccesary init of chunk_info; | otto | 2017-12-27 | 1 | -65/+81 |
| | | | | some cleanup; tested by sthen@ on a ports build | ||||
* | Fix one possible buffer overflow and one underflow. Also some minor | millert | 2017-12-24 | 1 | -20/+36 |
| | | | | cleanups. From Jan Kokemueller. OK deraadt@ | ||||
* | Move __cxa_thread_atexit* to its own .c file to avoid pulling the code | guenther | 2017-12-16 | 4 | -39/+64 |
| | | | | | | | (w/ _dlctl reference) into static executables. It's all Mark's code so put his preferred copyright on it. ok kettenis@ | ||||
* | Remove DEF_STRONG(__cxa_thread_atexit_impl). This produces an unwanted | kettenis | 2017-12-05 | 1 | -2/+1 |
| | | | | | _libc___cxa_thread_atexit_impl reference on gcc architectures that breaks the build. | ||||
* | Implement __cxa_thread_atexit to support C++11 thread_local scope. The | kettenis | 2017-12-05 | 3 | -3/+58 |
| | | | | | | | interface is also made available as __cxa_thread_atexit_impl to satisfy the needs of GNU libstdc++. ok guenther@, millert@ | ||||
* | clang doesn't propagate attributes like "asm labels" and "visibility(hidden)" | guenther | 2017-11-29 | 4 | -11/+23 |
| | | | | | | | | | to builtins like mem{set,cpy,move} and __stack_smash_handler. So, when building with clang, instead mark those as protected visibility to get rid of the PLT relocations. We can't take the address of them then, but that's ok: it's a build-time error not a run-time error. ok kettenis@ | ||||
* | Add the missing STANDARDS section (kettenis@ noticed that these are | schwarze | 2017-11-28 | 1 | -6/+14 |
| | | | | | POSIX functions) and turn the weird DIAGNOSTICS section into a normal RETURN VALUES section while here. | ||||
* | GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections | tb | 2017-11-28 | 7 | -15/+15 |
| | | | | | | | | with "warning: " since 2003, so the messages themselves need not contain the prefix anymore. From Scott Cheloha ok jca, deraadt | ||||
* | Revert recent changes to unbreak ports/net/samba | jca | 2017-11-04 | 1 | -2/+8 |
| | | | | | | | | While it is not clear (to me) why that ports ends up with corrupted shared libs, reverting those changes fixes the issue and should allow us to close p2k17 more smoothly. Discussed with a bunch, ok ajacoutot@ guenther@ | ||||
* | 's' should include 'f'; from Jacqueline Jolicoeur | otto | 2017-11-02 | 1 | -2/+2 |
| | |||||
* | Change pthread_cleanup_{push,pop} to macros that store the cleanup info | guenther | 2017-10-28 | 1 | -8/+2 |
| | | | | | | | | | | | | | | on the stack instead of mallocing the list and move the APIs from libpthread to libc so that they can be used inside libc. Note: the standard was explicitly written to permit/support this "macro with unmatched brace" style and it's what basically everyone else already does. We xor the info with random cookies with a random magic to detect/trip-up overwrites. Major bump to both libc and libpthread due to the API move. ok mpi@ | ||||
* | Restore a return that was inadvertently removed from freezero() in r1.234, | jsing | 2017-10-19 | 1 | -1/+2 |
| | | | | | | | which results in an internal double free when internal functions are not in use. ok otto@ | ||||
* | Add STANDARDS: denis@ spotted that it was missing. | schwarze | 2017-10-12 | 1 | -2/+19 |
| | | | | OK deraadt@ jca@ jmc@ | ||||
* | do not return f() where f is a void function; loop var type fix | otto | 2017-10-05 | 1 | -4/+5 |
| | |||||
* | Use dprintf instead of snprintf/write | otto | 2017-10-05 | 1 | -82/+36 |
| | |||||
* | Make delayed free non-optional and make F do an extensive double free check. | otto | 2017-09-23 | 1 | -21/+26 |
| | | | | ok tb@ tedu@ | ||||
* | mapalign returns MAP_FAILED for failuer; from George Koehler | otto | 2017-09-12 | 1 | -2/+2 |
| | |||||
* | check double free before canary for chunks; ok millert@ | otto | 2017-09-11 | 1 | -5/+5 |
| | |||||
* | New POSIX xlocale implementation written from scratch.libressl-v2.6.1 | schwarze | 2017-09-05 | 11 | -96/+396 |
| | | | | | | | | | | | | Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8. With important help from kettenis@, guenther@, and jca@. Repeated testing in ports bulk builds by naddy@. Additional testing by jca@, sebastia@, dcoppa@, and others. OK kettenis@ dcoppa@, and guenther@ on an earlier version. Riding guenther@'s libc/librthread major bump. | ||||
* | Move mutex, condvar, and thread-specific data routes, pthread_once, and | guenther | 2017-09-05 | 2 | -11/+182 |
| | | | | | | | | pthread_exit from libpthread to libc, along with low-level bits to support them. Major bump to both libc and libpthread. Requested by libressl team. Ports testing by naddy@ ok kettenis@ | ||||
* | delete pointless .Tn ASCII found by jca@ with mandoc -Tlint | schwarze | 2017-09-02 | 1 | -5/+4 |
| | |||||
* | Mention strtok_r in STANDARDS | jca | 2017-08-31 | 1 | -2/+6 |
| | | | | POSIX 2001 instead of POSIX.1c suggested by millert@ and jmc@, ok jmc@ | ||||
* | two MALLOC_STATS only tweaks; one from David CARLIER, the other found by clang | otto | 2017-08-20 | 1 | -8/+4 |
| | |||||
* | Use sendsyslog() directly instead of syslog_r() for the "backwards memcpy" | guenther | 2017-08-14 | 1 | -3/+12 |
| | | | | | | | messages, to avoid pulling in piles of other machinery unnecessarily problem observed by schwarze@ ok deraadt@ millert@ | ||||
* | Minimize #includes, particularly to avoid thread_private.h | guenther | 2017-08-12 | 2 | -7/+3 |
| | | | | ok tedu@ | ||||
* | add missing and correct misspelled names, most in NAME sections; | schwarze | 2017-08-01 | 2 | -6/+8 |
| | | | | | found with regress/usr.bin/mandoc/db/dbm_dump; OK jmc@ | ||||
* | zap trailing whitespace; | jmc | 2017-07-22 | 1 | -2/+2 |
| | |||||
* | rework the page a bit, clarify a few things, maybe better wording | tedu | 2017-07-22 | 1 | -8/+13 |
| | |||||
* | one more instance of the previous commit; also initialize ->offset to a | otto | 2017-07-10 | 1 | -2/+3 |
| | | | | definite value in the size == 0 case | ||||
* | update the little endian processor list to give it a chance of matching | tedu | 2017-07-08 | 2 | -6/+6 |
| | | | | what the reader is using. |