summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* reintroduce extra malloc protections, but avoiding the use ofdjm2009-01-031-164/+229
* PAGE_SIZE is not a valid symbol to use in that way. In particular,deraadt2008-12-311-235/+164
* Remove mprotecting of struct dir_info introduced in previous commitdjm2008-12-301-37/+2
* extra paranoia for malloc(3):djm2008-12-291-163/+269
* shave off more bytes than you expect by declaring a few const local arraysotto2008-12-151-4/+4
* move allocations between half a page and a page as close to the end ofotto2008-11-201-2/+2
* Reduce the leeway malloc allows when moving allocations to the end ofotto2008-11-201-2/+2
* To allow for easier playing with more strict settings introduceotto2008-11-131-5/+14
* avoid a few strlen calls for constant strings; prompted by tg; ok djm@otto2008-11-121-10/+10
* if the freeprot flag (F) is set, do not do delayed frees for chunksotto2008-11-061-6/+10
* remove distinction between warnings and errors, ok deraadt@ djm@otto2008-11-021-47/+20
* if MALLOC_STATS is defined, record how many "cheap reallocs" wereotto2008-10-291-1/+8
* oops, assign errno the right way. caught by david running regress testsotto2008-10-201-2/+2
* reduce rbyte cache to 512 bytes, no measurable slowdown (even in theotto2008-10-031-2/+2
* save and restore errno on success. while it is not stricly needed forotto2008-10-031-4/+14
* when increasing the size of a larger than a page allocation tryotto2008-10-031-3/+41
* avoid spitting up regions when purging stuff from the cache, it putsotto2008-10-031-17/+10
* Make all combinations of G, P, J and zero-fill work with as littleotto2008-08-251-5/+20
* unbreak MALLOC_OPTIONS=G that I broke in my last commit;djm2008-08-231-3/+3
* fix calloc() for MALLOC_OPTIONS=J case: SOME_JUNK was being filled intodjm2008-08-231-2/+2
* make sure we always map and unmap multiples of MALLOC_PAGESIZE;otto2008-08-221-5/+14
* Smarter implementation of calloc(3), which uses the fact that mmap(2)otto2008-08-221-6/+55
* small cleanup of error/warning stringsotto2008-08-071-4/+4
* Almost complete rewrite of malloc, to have a more efficient dataotto2008-07-281-1443/+835
* remove _MALLOC_LOCK_INIT; major bump; ok deraadt@otto2008-06-131-3/+1
* remove recalloc(3); it is buggy and impossible to repair without bigotto2008-05-191-35/+15
* Use arc4random_buf() when requesting more than a single word of outputdjm2008-04-131-2/+2
* use pgfree pool like other code does to reserve free list slots.otto2008-02-201-6/+6
* add recaloc(3)millert2007-09-031-15/+35
* get cheaper random bytes, less waste and no getpid() calls, which areotto2007-02-121-2/+3
* a failed mmap returns MAP_FAILED, not NULL. found while exercising paxotto2006-12-191-3/+3
* respond to ben hawkes's ruxcon presentation.tedu2006-10-241-61/+125
* Fix the second malloc_ulimit regression: maintaining the free listotto2006-05-141-3/+12
* Do not leave an hole in the directory list if allocation of theotto2006-04-241-11/+32
* delint; original from deraadt@ with fixes from tdeval@ and me;otto2006-04-181-43/+60
* quick path for free(0)espie2006-02-141-5/+5
* Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.espie2005-10-101-3/+3
* further knf and cleaning; ok tdevalderaadt2005-10-051-382/+364
* first KNF (no binary diffs)deraadt2005-10-051-1322/+1356
* zap remaining rcsid.espie2005-08-081-4/+1
* Fix the unmapping of freed pages, leaving just 64k worth of cache pages.tdeval2005-07-071-58/+136
* adding pointer protection to 'G' was too heavyweight. Since malloc guardtedu2005-06-071-4/+8
* handle sizeof(void *) allocations specially when using malloc guard.tedu2005-05-241-1/+31
* MMAP(2) malloc, here we go again.tdeval2005-03-311-222/+591
* Back out to brk(2) version.tdeval2004-08-111-554/+189
* - Remove the userland data limit check. It's mmap(2)'s job.tdeval2004-08-051-37/+108
* Missing check for NULL.tdeval2004-08-041-2/+2
* After a long gestation period, here comes our custom version of malloc(3)tdeval2004-08-011-181/+475
* Clean up malloc_active state when aborting.tdeval2004-04-121-3/+5
* Sanity fix.tdeval2004-02-191-2/+5