summaryrefslogtreecommitdiff
path: root/libexec/ld.so/malloc.c
AgeCommit message (Expand)Author
2022-01-18Avoid pulling sys/param.h, by using _ALIGN instead.Theo de Raadt
2022-01-08Prep .c files for removing the #includes from */archdep.hPhilip Guenther
2021-12-30Sync from libc: Use _MAX_PAGE_SHIFT, rather than #ifdef mips64Philip Guenther
2021-04-19Same internal consistency check as libc malloc: size in hash tableOtto Moerbeek
2020-12-26Fix a nasty mem leak in ld.so's own malloc. This was hard to diagnose, sinceOtto Moerbeek
2019-09-30Oops: the call to ofree() in orealloc() was misconverted into a call toPhilip Guenther
2018-11-02ld.so's malloc has no runtime option processing, so remove theOtto Moerbeek
2018-10-23Delay processing of ld.so's own PT_GNU_RELRO section until after environmentPhilip Guenther
2018-02-07sync with libc malloc: use consistent style for for loop in unmap(),Otto Moerbeek
2018-02-01don't forget to increment loop var; infinite loops spotted by sthen@Otto Moerbeek
2018-01-30kill a gcc warningOtto Moerbeek
2018-01-30port over the malloc changes from libc. prompted by deraadt@Otto Moerbeek
2017-12-01Redo the calculation of the alignment and placement of static TLS data toPhilip Guenther
2017-10-05Sync with libc malloc, doing delayed free double-free check alwaysOtto Moerbeek
2017-07-23from libc malloc: only access offset if canaries are enabled *and* size > 0Otto Moerbeek
2017-05-08Always use the same callback to unlock as was used to lock. PermitsPhilip Guenther
2017-02-18Add NULL tests to wrterror() to avoid a NULL deref when called fromPhilip Guenther
2017-01-24On fatal errors, kill ourselves with thrkill(0,9,NULL) instead ofPhilip Guenther
2016-11-03small tweak to also check canaries if F is in effectOtto Moerbeek
2016-10-31sync to libc: malloc_move is not an option anymoreOtto Moerbeek
2016-10-25bring canaries for > page sized objects from libc to ld.so; ok guenther@Otto Moerbeek
2016-10-140xd0 -> 0xdb from libc mallocOtto Moerbeek
2016-10-14move better canary code and validate_junk() over from libc mallocOtto Moerbeek
2016-09-18merge form libc malloc:Otto Moerbeek
2016-09-04Redundant memset and some better style wrt exiting functions after error.Otto Moerbeek
2016-09-03cherry-pick a few diffs from libc malloc; ok guenther@Otto Moerbeek
2016-08-12the slimmed down random functions inside ld.so are strict clones of theTheo de Raadt
2016-05-19ld.so can now be entered by multiple threads via _dl_{allocate,free}_tib(),Philip Guenther
2015-01-22delete annoying white space that annoyTheo de Raadt
2015-01-16<sys/param.h> to <limits.h> conversion. Verified binariesTheo de Raadt
2014-11-03arc4random_uniform() transformation was off, resulting in badly skewedPhilip Guenther
2014-07-06this version of malloc does not need string.hOtto Moerbeek
2014-06-21Move to a non-zeroing _dl_malloc, a _dl_calloc and _dl_reallocarry andOtto Moerbeek
2014-06-15move to a smaller rbytes buffer; ok miod@ deraadt@Otto Moerbeek
2014-06-05Move to (slightly stripped) version of libc malloc; ok deraadt@Otto Moerbeek