summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* avoid arithetic on void *deraadt2013-11-121-4/+4
* Fix bug in random offset introduced in rev 1.143; random range wasotto2012-12-221-3/+3
* Add a new malloc option 'U' => "Free unmap" that does the guarding/djm2012-11-021-15/+24
* Fix precedence bug (& has lower precedence than !=).pirofti2012-09-131-2/+2
* use PAGE_SHIFT instead of PGSHIFT, in preperation for futurederaadt2012-07-091-2/+2
* after a talk with ariane, use MAP_FIXED for mquery to avoid the cost oftedu2012-06-261-2/+2
* two changes which should improve realloc. first, fix zapcacheregion totedu2012-06-221-10/+19
* two small fixes to free page cache. first, we need two nibbles of randomtedu2012-06-201-4/+4
* Support larger-than-page-alignment requests in posix_memalign() bymatthew2012-06-181-19/+128
* - Test for the retrieved page address not being NULL. This turns free((void*)1)otto2012-02-291-2/+7
* Make struct chunk_info a variable sized struct, wasting lessotto2011-10-061-28/+55
* on malloc flag S, set cache size to 0; will catch even moreotto2011-07-121-2/+6
* as man page states, lower case undoes upper case. add support for little s,tedu2011-06-201-1/+5
* save errno dance in wrterror() and malloc_dump(); prompted by and ok deraadt@otto2011-05-201-2/+6
* introduce symbolic constant for initial number of regionsotto2011-05-181-2/+3
* zap regions_bits and rework MALLOC_MAXSHIFT a bit; ok djm@otto2011-05-181-14/+8
* Avoid fp computations for stats, this make calling malloc_dump() safe in moreotto2011-05-121-10/+7
* fix comment, the bitmap is an array of u_short nowotto2011-05-121-2/+2
* Introduce leak detection code for MALLOC_STATSotto2011-05-121-25/+165
* Move MALLOC_STATS code to bottom of file, so the real stuff is more at the top.otto2011-05-081-137/+141
* Up until now, malloc scanned the bits of the chunk bitmap fromotto2011-05-051-32/+24
* Now that we use an array of u_short for the chunk bitmap change a fewotto2011-04-301-5/+5
* More efficient scanning for free chunks while not losing any randomization;otto2011-04-301-21/+25
* avoid pointer arithmetic on void *dhill2010-12-161-5/+5
* print the pointer value that caused the error (if available); okotto2010-10-211-47/+54
* add posix_madvise, posix_memalign, strndup, and strnlen. mostly fromtedu2010-05-181-1/+26
* New options 'S', as a shorthand for the options most suitable as anotto2010-01-131-1/+5
* save calls to arc4random() by using a nibble at a time; not becauseotto2009-12-161-24/+27
* Make userland malloc use __LDPGSZ granularity on mips, regardless of themiod2009-12-071-1/+3
* Switch the chunk_info lists to doubly-linked lists and use the queueotto2009-11-271-51/+34
* Don't forget to fill region from the cache with junk if needed in one case;otto2009-11-271-1/+3
* No need to clear a mmapped region; from Fabien Romano and Jonathanotto2009-11-271-2/+1
* permit -DMALLOC_STATS to compile againtodd2009-11-021-2/+2
* Check mmap return value against MAP_FAILED not NULL.pirofti2009-10-201-2/+2
* quieten compiler by converting pointers to uintptr_t before truncating themderaadt2009-06-081-5/+5
* 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