From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11639 Path: news.gmane.org!.POSTED!not-for-mail From: u-uy74@aetey.se Newsgroups: gmane.linux.lib.musl.general Subject: Re: Question about setting argv[0] when manually using dynamic linker Date: Sun, 2 Jul 2017 19:36:19 +0200 Message-ID: <20170702173618.GL27260@example.net> References: <20170517070115.GL6320@example.net> <20170517162428.GH17319@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1499017006 23170 195.159.176.226 (2 Jul 2017 17:36:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Jul 2017 17:36:46 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11652-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jul 02 19:36:42 2017 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 1dRinZ-0005ld-9z for gllmg-musl@m.gmane.org; Sun, 02 Jul 2017 19:36:41 +0200 Original-Received: (qmail 7494 invoked by uid 550); 2 Jul 2017 17:36:43 -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 7467 invoked from network); 2 Jul 2017 17:36:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fripost.org; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date; s=20140703; t=1499016992; x=1500831393; bh=BRX8eXE+G lr7yY0kqAus1/lNBXAJQ4Y1Wd75esuBj/U=; b=N5NOf/Nx+5DxAlmMD8FZux1F5 h5PBNxjUeykKjHwfCdojijCHKORp5eRJDto1B1O994K5extNBRccMdcZP4pOYifR ejb/n7XFOG7/BnFtLEjULRft/Cg3XRpV4x/C4LMn6py5thSjI0q0YHAAPxYcp7kL MqN8yWamTGabjjFgak= X-Virus-Scanned: Debian amavisd-new at fripost.org Content-Disposition: inline In-Reply-To: <20170517162428.GH17319@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:11639 Archived-At: On Wed, May 17, 2017 at 12:24:28PM -0400, Rich Felker wrote: > a completely reasonable and recommended way for deploying dynamic > linked apps in a self-contained way that doesn't depend on musl libc > on the host. Unfortunately there's no way to set argv[0] like you want > at this time. Perhaps adding an option like --argv0=foo would be > appropriate. Is this option being considered to introduce? It is apparently crucial for certain cases, and definitely useful even when it is within reach to influence/patch the programs relying on argv[0]. Regards, Rune