git: Define __* symbols for the malloc(3) functions to make wrapping easier.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Wed Jul 12 15:48:31 PDT 2017
commit 69baab3b6fefbaae4cf4bc59d5556b43dccf8af8
Author: Imre Vadász <imre at vdsz.com>
Date: Sun Jul 9 14:08:38 2017 +0200
Define __* symbols for the malloc(3) functions to make wrapping easier.
This should match what FreeBSD and other systems do. Where the __* variants
always refer to the libc function, but the actual malloc(), free() etc.
symbols can be overrided by a malloc wrapper.
Summary of changes:
lib/libc/Versions.def | 6 +++++-
lib/libc/stdlib/Symbol.map | 8 ++++++++
lib/libc/stdlib/nmalloc.c | 16 +++++++++++-----
3 files changed, 24 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/69baab3b6fefbaae4cf4bc59d5556b43dccf8af8
--
DragonFly BSD source repository
More information about the Commits
mailing list