]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Cleanup for rtld_malloc.c.
authorkib <kib@FreeBSD.org>
Thu, 2 May 2019 15:03:16 +0000 (15:03 +0000)
committerkib <kib@FreeBSD.org>
Thu, 2 May 2019 15:03:16 +0000 (15:03 +0000)
commite8543947043a011de3acdb7ba2fcef39eff3cad4
treeabc67eef39c033d2d5ee577e262b4cec5392bbce
parent1f1b2ec3c5cca379778b2a17ccccdf976af74904
Cleanup for rtld_malloc.c.

- Remove dead and most likely rotten MALLOC_DEBUG, MSTAT, and RCHECK options.
- Remove unused headers.
- Remove one case of undefined behavior where left shift could overflow.
  It is impossible on practice for rtld and libthr consumer.

PR: 237577
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
libexec/rtld-elf/rtld_malloc.c