]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r233307:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 Apr 2012 10:38:07 +0000 (10:38 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 Apr 2012 10:38:07 +0000 (10:38 +0000)
commitccfbed526798512d6d6685e984cb5a63010a68a5
tree42a7db319ad868c8c93905e20ab18a84d14173e1
parentbc8027704b32f21bc64df1a2f9eb28a461611aff
MFC r233307:
Use xmalloc() instead of malloc() in the places where malloc() calls
are assumed to not fail.

Make the xcalloc() calling conventions follow the calloc(3) calling
conventions and replace unchecked calls to calloc() with calls to
xcalloc().

Remove redundand declarations from xmalloc.c, which are already
present in rtld.h.

git-svn-id: svn://svn.freebsd.org/base/stable/9@233922 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
libexec/rtld-elf/ia64/reloc.c
libexec/rtld-elf/powerpc64/reloc.c
libexec/rtld-elf/rtld.c
libexec/rtld-elf/rtld.h
libexec/rtld-elf/xmalloc.c