From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5424 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: LD_PRELOAD should treat space and colon as separator Date: Wed, 09 Jul 2014 18:50:06 +0200 Message-ID: <53BD72BE.4080101@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1404924653 3551 80.91.229.3 (9 Jul 2014 16:50:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2014 16:50:53 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5429-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 09 18:50:48 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1X4v4x-0004H4-L6 for gllmg-musl@plane.gmane.org; Wed, 09 Jul 2014 18:50:47 +0200 Original-Received: (qmail 3317 invoked by uid 550); 9 Jul 2014 16:50:46 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 3309 invoked from network); 9 Jul 2014 16:50:46 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 Xref: news.gmane.org gmane.linux.lib.musl.general:5424 Archived-At: from reading the code in dynlink.c, load_preload(), it appears as if musl's LD_PRELOAD only accepts space as a separator. according to http://man7.org/linux/man-pages/man8/ld.so.8.html GLIBC and probably other dynlinker accept ":" as well: LD_PRELOAD A list of additional, user-specified, ELF shared libraries to be loaded before all others. The items of the list can be separated by spaces or colons. --JS