summaryrefslogtreecommitdiff
path: root/libexec/ld.so/malloc.c
AgeCommit message (Expand)Author
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