From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12733 Path: news.gmane.org!.POSTED!not-for-mail From: Florian Weimer Newsgroups: gmane.linux.lib.musl.general Subject: Re: tcmalloc compatibility Date: Wed, 18 Apr 2018 22:50:24 +0200 Message-ID: <87efjci6i7.fsf@mid.deneb.enyo.de> References: <0ea267bf-ea3a-9810-be1a-50e71b6cfce1@denis.im> <20180410143359.GF3094@brightrain.aerifal.cx> <878t9vlzh1.fsf@mid.deneb.enyo.de> <20180410203354.GI4418@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1524084513 26064 195.159.176.226 (18 Apr 2018 20:48:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Apr 2018 20:48:33 +0000 (UTC) Cc: Rich Felker To: musl@lists.openwall.com Original-X-From: musl-return-12749-gllmg-musl=m.gmane.org@lists.openwall.com Wed Apr 18 22:48:28 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1f8u0C-0006hh-Ir for gllmg-musl@m.gmane.org; Wed, 18 Apr 2018 22:48:28 +0200 Original-Received: (qmail 30588 invoked by uid 550); 18 Apr 2018 20:50:36 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 30568 invoked from network); 18 Apr 2018 20:50:36 -0000 In-Reply-To: <20180410203354.GI4418@port70.net> (Szabolcs Nagy's message of "Tue, 10 Apr 2018 22:33:55 +0200") Xref: news.gmane.org gmane.linux.lib.musl.general:12733 Archived-At: * Szabolcs Nagy: > even with the very small set of libc apis that a malloc > interposer may want to use, there known (but undocumented) > caveats: > > - glibc dlsym calls calloc (bites anybody who tries to wrap > calloc in the usual way) That's not what I meant with an interposed malloc. Any such partial interposition is going to be very tricky indeed.