summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* remove unneeded semicolons; checked by millert@jsg2024-09-201-2/+2
* In _malloc_init(), round up the region being mprotected RW to the mallocmiod2024-03-301-11/+11
* A small cleanup of malloc_bytes(), getting rid of a goto and a tinyotto2023-12-191-29/+27
* Save backtraces to show in leak dump. Depth of backtrace set byotto2023-12-041-79/+174
* KNF plus fixed a few signed vs unsigned compares (that we actuallyotto2023-11-041-22/+33
* A few micro-optimizations; ok asou@otto2023-10-261-20/+15
* When option D is active, store callers for all chunks; this avoidsotto2023-10-221-75/+151
* Print waring message when not allocated memory in putleakinfo().asou2023-09-091-2/+20
* Recommit "Allow to ask for deeper callers for leak reports usingotto2023-06-301-10/+47
* Revert previous, not all platforms allow compilingotto2023-06-231-13/+2
* Allow to ask for deeper callers for leak reports using malloc options.otto2023-06-221-2/+13
* Add portable version and m88k-specific version lb() function, becauseaoyama2023-06-071-1/+21
* More thorough write-afetr-free checks.otto2023-06-041-10/+22
* Remove malloc interposition, a workaround that was once needed for emacsotto2023-05-271-7/+7
* As mmap(2) is no longer a LOCK syscall, do away with the extraotto2023-05-101-23/+1
* remove duplicate includejsg2023-04-211-2/+1
* Dump (leak) info using utrace(2) and compile the code always inotto2023-04-161-141/+182
* Introduce variation in location of junked bytes; ok tb@otto2023-04-051-3/+8
* Check all chunks in the delayed free list for write-after-free.otto2023-04-011-5/+21
* Change malloc chunk sizes to be fine grained.otto2023-03-251-102/+142
* There is no reason to-be-cleared chunks cannot participate in delayedotto2023-02-271-27/+23
* Change the way malloc_init() works so that the main data structuresotto2022-12-271-65/+66
* put the malloc_readonly struct into the "openbsd.mutable" section, soderaadt2022-10-141-2/+3
* To figure our whether a large allocation can be grown into theguenther2022-06-301-12/+2
* Currently malloc caches a number of free'ed regions up to 128kotto2022-02-261-33/+160
* Switch two calls from memset() to explicit_bzero()tb2021-09-191-3/+3
* Make MALLOC_STATS compile again; noted by Omar Polo and Joe Nelsonotto2021-07-231-2/+2
* An extra internal consistency check and a missing stats adjustment. ok tb@otto2021-04-091-1/+4
* Change the implementation of the malloc cache to keep lists ofotto2021-03-091-152/+118
* - Make use of the fact that we know how the chunks are aligned, andotto2021-02-251-46/+80
* mapalign() only handles allocations >= a page; problem found by and ok semarie@otto2020-11-231-1/+3
* make fixed-sized fixed-value mib[] arrays be constderaadt2020-10-121-4/+3
* As noted by tb@ previous commit only removed an unused fucntion.otto2020-10-091-4/+9
* Use random value for canary bytes; ok tb@otto2020-10-061-23/+1
* For page-sized and larger allocations do not put the pages we'reotto2020-09-061-21/+18
* 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