summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-2/+2
* Only override size of chunk if we're not given the actual length.otto2019-05-231-2/+3
* Inroduce malloc_conceal() and calloc_conceal(). Similar to theirotto2019-05-101-196/+193
* Move default numer of pools in the multi-threaded case to 8. Various testsotto2019-01-101-2/+2
* Make the "not my pool" searching loop a tiny bit smarter, whileotto2019-01-101-20/+37
* Improve speed for the multi-threaded case by reducing lock contention.otto2018-12-101-30/+21
* style; OK ottoflorian2018-12-091-3/+3
* Refactor "find the right pool" code into a function. ok djm@ tb@otto2018-11-271-65/+34
* Introducing malloc_usable_size() was a mistake. While some otherotto2018-11-211-78/+1
* Fix compilation on alpha, where DEF_WEAK() really must be paired withguenther2018-11-191-2/+1
* Implement malloc_usable_size(); ok millert@ deraadt@ and jmc@ for the man pageotto2018-11-181-1/+79
* Use the new vm.malloc_conf sysctl; ok millert@ deraadt@otto2018-11-061-6/+11
* Implement C11's aligned_alloc(3). ok guenther@otto2018-11-051-1/+43
* sys/uio.h is not used anymoreotto2018-04-071-3/+2
* fix MALLOC_STATS; spotted by and ok semarie@otto2018-03-301-1/+5
* use _ALIGN() which is uhm a bit OpenBSD-specific, but it means wederaadt2018-03-061-3/+2
* Use _MAX_PAGE_SHIFT, rather than #ifdef mips64deraadt2018-03-051-6/+2
* use consistent style for for loop in unmap(), no functional changeotto2018-02-071-4/+2
* keep in sync with ld.so malloc.cotto2018-01-301-2/+3
* - An error in the multithreaded case could print the wrong function nameotto2018-01-281-12/+23
* - do not junk pages returned by free_bytes(), all freed chunks are alreadyotto2018-01-261-19/+19
* Zap the rotor, it was a wrong idea. Cluebat applied by kshe whootto2018-01-181-6/+3
* Move to ffs(3) for bitmask scanning. I played with this earlier,otto2018-01-181-21/+11
* optimization and some cleanup; mostly from kshe (except the unmap() part)otto2018-01-081-67/+51
* Only init chunk_info once, plus some moving of code to group related functions.otto2018-01-011-273/+267
* step one in avoiding unneccesary init of chunk_info;otto2017-12-271-65/+81
* 's' should include 'f'; from Jacqueline Jolicoeurotto2017-11-021-2/+2
* Restore a return that was inadvertently removed from freezero() in r1.234,jsing2017-10-191-1/+2
* do not return f() where f is a void function; loop var type fixotto2017-10-051-4/+5
* Use dprintf instead of snprintf/writeotto2017-10-051-82/+36
* Make delayed free non-optional and make F do an extensive double free check.otto2017-09-231-21/+26
* mapalign returns MAP_FAILED for failuer; from George Koehlerotto2017-09-121-2/+2
* check double free before canary for chunks; ok millert@otto2017-09-111-5/+5
* two MALLOC_STATS only tweaks; one from David CARLIER, the other found by clangotto2017-08-201-8/+4
* one more instance of the previous commit; also initialize ->offset to aotto2017-07-101-2/+3
* Only access offset if canaries are enabled *and* size > 0, otherwise offsetotto2017-07-071-2/+2
* port the RBT code to userland by making it part of libc.dlg2017-06-191-10/+11
* - fix bug wrt posix_memalign(3) of blocks between half a page and a pageotto2017-05-131-4/+9
* For small allocations (chunk) freezero only validates the givenotto2017-04-221-5/+10
* don't forget to fill in canary bytes for posix_memalign(3); reported byotto2017-04-181-1/+4
* whitespace fixesotto2017-04-171-14/+14
* allow clearing less than allocated and document freezero(3) betterotto2017-04-131-5/+5
* Introducing freezero(3) a version of free that guarantees the processotto2017-04-101-12/+72
* first print size in meta-data then supplied arg size when an inconsistency isotto2017-04-061-3/+3
* small cleanup & optimization; ok deraadt@ millert@otto2017-03-281-2/+5
* add a helper function to print all pools #ifdef MALLOC_STATSotto2017-03-241-1/+16
* move recallocarray to malloc.c andotto2017-03-241-17/+206
* Add a NULL test to wrterror() to avoid a NULL deref when called from ajsg2017-02-151-2/+2
* fix a comment and rm some dead code as a result of the previous diffotto2017-02-021-8/+5
* Let realloc handle and produce moved pointers for allocations betweenlibressl-v2.5.1otto2017-02-011-20/+37