summaryrefslogtreecommitdiffstats
path: root/libexec/ld.so/malloc.c
AgeCommit message (Expand)AuthorFilesLines
2019-09-30Oops: the call to ofree() in orealloc() was misconverted into a call toguenther1-2/+2
2018-11-02ld.so's malloc has no runtime option processing, so remove theotto1-75/+72
2018-10-23Delay processing of ld.so's own PT_GNU_RELRO section until after environmentguenther1-35/+14
2018-02-07sync with libc malloc: use consistent style for for loop in unmap(),otto1-3/+1
2018-02-01don't forget to increment loop var; infinite loops spotted by sthen@otto1-0/+1
2018-01-30kill a gcc warningotto1-1/+1
2018-01-30port over the malloc changes from libc. prompted by deraadt@otto1-304/+293
2017-12-01Redo the calculation of the alignment and placement of static TLS data toguenther1-0/+119
2017-10-05Sync with libc malloc, doing delayed free double-free check alwaysotto1-21/+15
2017-07-23from libc malloc: only access offset if canaries are enabled *and* size > 0otto1-1/+2
2017-05-08Always use the same callback to unlock as was used to lock. Permitsguenther1-8/+13
2017-02-18Add NULL tests to wrterror() to avoid a NULL deref when called fromguenther1-1/+4
2017-01-24On fatal errors, kill ourselves with thrkill(0,9,NULL) instead ofguenther1-17/+2
2016-11-03small tweak to also check canaries if F is in effectotto1-2/+4
2016-10-31sync to libc: malloc_move is not an option anymoreotto1-9/+4
2016-10-25bring canaries for > page sized objects from libc to ld.so; ok guenther@otto1-12/+29
2016-10-140xd0 -> 0xdb from libc mallocotto1-2/+2
2016-10-14move better canary code and validate_junk() over from libc mallocotto1-13/+75
2016-09-18merge form libc malloc:otto1-5/+5
2016-09-04Redundant memset and some better style wrt exiting functions after error.otto1-21/+12
2016-09-03cherry-pick a few diffs from libc malloc; ok guenther@otto1-68/+36
2016-08-12the slimmed down random functions inside ld.so are strict clones of thederaadt1-4/+4
2016-05-19ld.so can now be entered by multiple threads via _dl_{allocate,free}_tib(),guenther1-10/+29
2015-01-22delete annoying white space that annoyderaadt1-15/+15
2015-01-16<sys/param.h> to <limits.h> conversion. Verified binariesderaadt1-4/+2
2014-11-03arc4random_uniform() transformation was off, resulting in badly skewedguenther1-2/+2
2014-07-06this version of malloc does not need string.hotto1-2/+1
2014-06-21Move to a non-zeroing _dl_malloc, a _dl_calloc and _dl_reallocarry andotto1-2/+48
2014-06-15move to a smaller rbytes buffer; ok miod@ deraadt@otto1-2/+2
2014-06-05Move to (slightly stripped) version of libc malloc; ok deraadt@otto1-0/+1022