summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Expand)Author
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
2017-04-10Introducing freezero(3) a version of free that guarantees the processOtto Moerbeek
2017-04-06Consistentcy between nmembers and size order. From Christopher Hettrick;Otto Moerbeek
2017-04-06first print size in meta-data then supplied arg size when an inconsistency isOtto Moerbeek
2017-03-29rephrase more enumerations of functionsOtto Moerbeek
2017-03-28small cleanup & optimization; ok deraadt@ millert@Otto Moerbeek
2017-03-26Stop enumeration all allocation functions, just say "allocation functions"Otto Moerbeek
2017-03-24add a helper function to print all pools #ifdef MALLOC_STATSOtto Moerbeek
2017-03-24document new recallocarray diagnostic; zap a few diagnostics that shouldOtto Moerbeek
2017-03-24move recallocarray to malloc.c andOtto Moerbeek
2017-03-17remove unneccessary macro;Jason McIntyre
2017-03-17Strengthen description of recallocarray(3) behaviour, hoping that readersTheo de Raadt
2017-03-07Some tweaks from jmc@ and describe better what recallocarray does;Otto Moerbeek
2017-03-06Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3)Otto Moerbeek
2017-02-15Add a NULL test to wrterror() to avoid a NULL deref when called from aJonathan Gray
2017-02-12malloc does not *need* to return page-aligned objects for size >=Otto Moerbeek
2017-02-02fix a comment and rm some dead code as a result of the previous diffOtto Moerbeek
2017-02-01Let realloc handle and produce moved pointers for allocations betweenOtto Moerbeek
2017-01-211. When shrinking a chunk allocation, compare the size of the currentOtto Moerbeek
2017-01-04Remove unnecessary casts of 'a' to char * since 'a' is already char *.Todd C. Miller
2016-11-04MALLOC_STATS tweaks, by default not compiled inOtto Moerbeek
2016-11-03small tweak to also check canaries if F is in effectOtto Moerbeek
2016-10-31remove some old option letters and also make P non-settable. It hasOtto Moerbeek
2016-10-28Pages in the malloc cache are either reused quickly or unmappedOtto Moerbeek
2016-10-22$OpenBSD$Theo Buehler
2016-10-22- fix MALLOC_STATS compileOtto Moerbeek
2016-10-21fix some void * arithmetic by castingOtto Moerbeek
2016-10-21and recommit with fixed GCOtto Moerbeek
2016-10-20backout for now; flag combination GC is not okOtto Moerbeek
2016-10-20avoid sentence splicing;Jason McIntyre
2016-10-20canary corruption message changed a bitOtto Moerbeek
2016-10-20Also place canaries in > page sized objects (if C is in effect); ok tb@Otto Moerbeek
2016-10-15Wrap _malloc_init() so internal calls go directlyPhilip Guenther
2016-10-140xd0 -> 0xdb; ok deraadt@ millert@ tedu@Otto Moerbeek
2016-10-12optimize canary code a bit by storing offset of sizes table instead ofOtto Moerbeek
2016-10-08make clear the length printed is the requested lengthOtto Moerbeek
2016-10-07grammar fix previous;Jason McIntyre