summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
AgeCommit message (Expand)AuthorFilesLines
2017-04-18don't forget to fill in canary bytes for posix_memalign(3); reported byotto1-1/+4
2017-04-17consictently use .Dv NULL and a few other tweaks; ok schwarze@otto1-20/+17
2017-04-17whitespace fixesotto1-14/+14
2017-04-13allow clearing less than allocated and document freezero(3) betterotto2-13/+26
2017-04-10tweak previous;jmc1-4/+4
2017-04-10Introducing freezero(3) a version of free that guarantees the processotto2-36/+130
2017-04-06Consistentcy between nmembers and size order. From Christopher Hettrick;otto1-8/+8
2017-04-06first print size in meta-data then supplied arg size when an inconsistency isotto1-3/+3
2017-03-29rephrase more enumerations of functionsotto1-13/+10
2017-03-28small cleanup & optimization; ok deraadt@ millert@otto1-2/+5
2017-03-26Stop enumeration all allocation functions, just say "allocation functions"otto1-32/+13
2017-03-24add a helper function to print all pools #ifdef MALLOC_STATSotto1-1/+16
2017-03-24document new recallocarray diagnostic; zap a few diagnostics that shouldotto1-8/+9
2017-03-24move recallocarray to malloc.c andotto2-19/+207
2017-03-17remove unneccessary macro;jmc1-2/+2
2017-03-17Strengthen description of recallocarray(3) behaviour, hoping that readersderaadt1-5/+10
2017-03-07Some tweaks from jmc@ and describe better what recallocarray does;otto1-7/+16
2017-03-06Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3)otto3-7/+147
2017-02-15Add a NULL test to wrterror() to avoid a NULL deref when called from ajsg1-2/+2
2017-02-12malloc does not *need* to return page-aligned objects for size >=otto1-5/+2
2017-02-02fix a comment and rm some dead code as a result of the previous diffotto1-8/+5
2017-02-01Let realloc handle and produce moved pointers for allocations betweenotto1-20/+37
2017-01-211. When shrinking a chunk allocation, compare the size of the currentotto1-46/+87
2017-01-04Remove unnecessary casts of 'a' to char * since 'a' is already char *.millert1-10/+10
2016-11-04MALLOC_STATS tweaks, by default not compiled inotto1-13/+29
2016-11-03small tweak to also check canaries if F is in effectotto1-3/+5
2016-10-31remove some old option letters and also make P non-settable. It hasotto1-24/+6
2016-10-28Pages in the malloc cache are either reused quickly or unmappedotto1-14/+1
2016-10-22$OpenBSD$tb3-0/+3
2016-10-22- fix MALLOC_STATS compileotto1-3/+6
2016-10-21fix some void * arithmetic by castingotto1-4/+4
2016-10-21and recommit with fixed GCotto1-102/+111
2016-10-20backout for now; flag combination GC is not okotto1-109/+102
2016-10-20avoid sentence splicing;jmc1-2/+2
2016-10-20canary corruption message changed a bitotto1-5/+5
2016-10-20Also place canaries in > page sized objects (if C is in effect); ok tb@otto1-102/+109
2016-10-15Wrap _malloc_init() so internal calls go directlyguenther1-1/+2
2016-10-140xd0 -> 0xdb; ok deraadt@ millert@ tedu@otto1-3/+3
2016-10-12optimize canary code a bit by storing offset of sizes table instead ofotto1-5/+7
2016-10-08make clear the length printed is the requested lengthotto1-3/+3
2016-10-07grammar fix previous;jmc1-2/+2
2016-10-07document "chunk canary corrupted" errorotto1-2/+7
2016-10-07stray tabotto1-2/+2
2016-10-07Beter implementation of chunk canaries: store size in chunk meta dataotto1-61/+63
2016-09-21Delete casts to off_t and size_t that are implied by assignmentsguenther2-9/+9
2016-09-18move page junking tp unmap(), right before we stick the region in the cache;otto1-6/+6
2016-09-04fix Dt;jmc1-2/+2
2016-09-04Set errno more consistently, and fix a warning, ok tedunicm1-21/+29
2016-09-04rmtedu1-68/+0
2016-09-04oops, name file after main functiontedu1-0/+68