summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Expand)Author
2018-11-06rm FILES section; prompted by Janne JohanssonOtto Moerbeek
2018-11-06Use the new vm.malloc_conf sysctl; ok millert@ deraadt@Otto Moerbeek
2018-11-05Implement C11's aligned_alloc(3). ok guenther@Otto Moerbeek
2018-04-07sys/uio.h is not used anymoreOtto Moerbeek
2018-03-30fix MALLOC_STATS; spotted by and ok semarie@Otto Moerbeek
2018-03-06use _ALIGN() which is uhm a bit OpenBSD-specific, but it means weTheo de Raadt
2018-03-05Use _MAX_PAGE_SHIFT, rather than #ifdef mips64Theo de Raadt
2018-02-07use consistent style for for loop in unmap(), no functional changeOtto Moerbeek
2018-01-30keep in sync with ld.so malloc.cOtto Moerbeek
2018-01-30word fix; from edgar pettijohnJason McIntyre
2018-01-28- An error in the multithreaded case could print the wrong function nameOtto Moerbeek
2018-01-26- do not junk pages returned by free_bytes(), all freed chunks are alreadyOtto Moerbeek
2018-01-18Zap the rotor, it was a wrong idea. Cluebat applied by kshe whoOtto Moerbeek
2018-01-18Move to ffs(3) for bitmask scanning. I played with this earlier,Otto Moerbeek
2018-01-08optimization and some cleanup; mostly from kshe (except the unmap() part)Otto Moerbeek
2018-01-01Only init chunk_info once, plus some moving of code to group related functions.Otto Moerbeek
2017-12-27step one in avoiding unneccesary init of chunk_info;Otto Moerbeek
2017-12-24Fix one possible buffer overflow and one underflow. Also some minorTodd C. Miller
2017-12-16Move __cxa_thread_atexit* to its own .c file to avoid pulling the codePhilip Guenther
2017-12-05Remove DEF_STRONG(__cxa_thread_atexit_impl). This produces an unwantedMark Kettenis
2017-12-05Implement __cxa_thread_atexit to support C++11 thread_local scope. TheMark Kettenis
2017-11-28GNU ld has prefixed the contents of .gnu.warning.SYMBOL sectionsTheo Buehler
2017-11-02's' should include 'f'; from Jacqueline JolicoeurOtto Moerbeek
2017-10-19Restore a return that was inadvertently removed from freezero() in r1.234,Joel Sing
2017-10-05do not return f() where f is a void function; loop var type fixOtto Moerbeek
2017-10-05Use dprintf instead of snprintf/writeOtto Moerbeek
2017-09-23Make delayed free non-optional and make F do an extensive double free check.Otto Moerbeek
2017-09-12mapalign returns MAP_FAILED for failuer; from George KoehlerOtto Moerbeek
2017-09-11check double free before canary for chunks; ok millert@Otto Moerbeek
2017-08-20two MALLOC_STATS only tweaks; one from David CARLIER, the other found by clangOtto Moerbeek
2017-08-12Minimize #includes, particularly to avoid thread_private.hPhilip Guenther
2017-08-01add missing and correct misspelled names, most in NAME sections;Ingo Schwarze
2017-07-10one more instance of the previous commit; also initialize ->offset to aOtto Moerbeek
2017-07-07Only access offset if canaries are enabled *and* size > 0, otherwise offsetOtto Moerbeek
2017-07-06The 0x (or 0X) prefix in base 16 is optional so only skip over theTodd C. Miller
2017-06-19port the RBT code to userland by making it part of libc.David Gwynne
2017-05-30Don't fall back to heapsort() if we would otherwise switch toTodd C. Miller
2017-05-24Support swapping 32-bit aligned elements on 64-bit platforms.Todd C. Miller
2017-05-20Document that qsort falls back to heapsort() if the recursion depthTodd C. Miller
2017-05-20Use David Musser's introsort algorithm to fall back to heapsort(3)Todd C. Miller
2017-05-17The BSD qsort() performs tail recursion elimination on the secondTodd C. Miller
2017-05-15Typo: freezeo -> freezeroTheo Buehler
2017-05-13- fix bug wrt posix_memalign(3) of blocks between half a page and a pageOtto Moerbeek
2017-04-23Rearrange text a bit to make it clear what "discarded" means; ok jmc@ deraadt@Otto Moerbeek
2017-04-22For small allocations (chunk) freezero only validates the givenOtto Moerbeek
2017-04-18don't forget to fill in canary bytes for posix_memalign(3); reported byOtto Moerbeek
2017-04-17consictently use .Dv NULL and a few other tweaks; ok schwarze@Otto Moerbeek
2017-04-17whitespace fixesOtto Moerbeek
2017-04-13allow clearing less than allocated and document freezero(3) betterOtto Moerbeek
2017-04-10tweak previous;Jason McIntyre