From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1526 Path: news.gmane.org!not-for-mail From: =?ISO-8859-2?Q?Daniel_Cegie=B3ka?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: Priorities for next release? Date: Sat, 11 Aug 2012 18:35:12 +0200 Message-ID: References: <20120810191254.GA13232@brightrain.aerifal.cx> <50258541.6000805@gentoo.org> <20120811000553.GD27715@brightrain.aerifal.cx> <5025AD41.3060009@gentoo.org> <22761.132.241.65.128.1344651681.squirrel@lavabit.com> <20120811023602.GF27715@brightrain.aerifal.cx> <20120811122712.GG27715@brightrain.aerifal.cx> <20120811160950.GH27715@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1344702948 16311 80.91.229.3 (11 Aug 2012 16:35:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Aug 2012 16:35:48 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1527-gllmg-musl=m.gmane.org@lists.openwall.com Sat Aug 11 18:35:49 2012 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 1T0EfB-00046R-NF for gllmg-musl@plane.gmane.org; Sat, 11 Aug 2012 18:35:45 +0200 Original-Received: (qmail 32031 invoked by uid 550); 11 Aug 2012 16:35:44 -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 32023 invoked from network); 11 Aug 2012 16:35:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=/Lew2gOznh2E/C52DhQYBMXbz2WQyAFpmAy2WRonytI=; b=uLuk2RhGH4ktoOKV6od3UrvWV4DJOoMh2LEAxlb4W3Ktcomgg6o/VD7rGLWjMDU1dq m0trf5oG+N6pecocLSqRtMLDlMy+STi+3lYgV8l/0WzYItt0UYnuKZ0HoNA6GGt9aaH7 NZbh0Haf53xcW5+iFn64pOskwWk6zt5+Og6JykGEgCd8OWYLHNjF4OA5GAw55iOueduL /dyF5/aKthmJeEBGSXv/3tV3ze1jHX/VwpmzdjF1XKM7PEHDyA6ocpJbrqecGtlomOwX HGTfTDsiVl2IV5+i0KAlj9Q+Q2IPjViuYIl2imcFMsLU2MNNj2dBItygwKGqRXKG2uHp CcWw== In-Reply-To: <20120811160950.GH27715@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:1526 Archived-At: >> argv[0] > > I meant program_invocation_name or whatever ugly thing glibc calls it. > Of course if the goal is to make BSD programs happy, that won't really > help. I really wish somebody would just fix these programs to save > argv[0] themselves if they need it (or to hard-code their own names as > a string literal...) rather than keeping around the historical > practice of poking at implementation internals of the original libc > they used.. That's what I do now (patches for __progname). Unfortunately some linux distributions forcing __progname, even Owl: in Owl's popa3d we have a #ifdef, which really helps. #ifdef HAVE_PROGNAME extern char *__progname; #define progname __progname http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/popa3d/popa3d/startup.c?rev=1.4;content-type=text%2Fplain but for Owl's msulogin we need a patch for musl: http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/msulogin/msulogin/sulogin.c?rev=1.4;content-type=text%2Fplain Daniel