bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash cores if nscd disabled on Solaris LDAP sasl/gssapi client


From: Serge Dussud
Subject: Re: bash cores if nscd disabled on Solaris LDAP sasl/gssapi client
Date: Tue, 16 Dec 2008 16:43:03 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080807)



On 12/ 8/08 03:00 PM, Chet Ramey wrote:
Serge Dussud wrote:

Indeed, ld(1)'s -z interpose option is a rather big hammer, as it
establishes that the application can interpose on *all* of the symbols
that it offers, rather than just the few related to malloc.

That might be a problem if there are some public symbols in libc that
bash happens to use, but bash is pretty careful to replace libc
functions only if they're missing or somehow substandard.

OK. Not sure I am willing to take the risk at this point. Also, note that the linker issue is being investigated at the moment.


Hence, my question to you is: are there any real benefit these days of
using bash's own malloc function rather than the one from the system ?
or, otherwise said, what do bash lose when it's compiled with option
--without-bash-malloc ?

The bash malloc is a lot faster than the Solaris malloc, and it performs

indeed ? OK.

Thanks,
Serge

a lot more checking.

Chet




reply via email to

[Prev in Thread] Current Thread [Next in Thread]