From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id 4FD86229C3 for ; Sat, 9 Mar 2024 19:46:56 +0100 (CET) Received: (qmail 29974 invoked by uid 550); 9 Mar 2024 18:42:51 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 29954 invoked from network); 9 Mar 2024 18:42:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710010003; bh=3PtF4wEgLycI28Xfuj5GFS5bhSZaesD3tVbuZ20gcxs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TGecfCPvxVmtw0ixGxHwwAEk9e70fszIZW8io1Xz0yAxJHXm9f1rTRGgy+bkb5OX2 j1o2o+GgFN9cRitwJk4gIfwXUWRWDnidQpgoKP5/79yypwWWI6G5jY656GXnHBqcIH FVKITguFD27rgnmBbaF5/anGhrtuAm8VXNu8WbHhoxx99mrZBnx88RczXabBCoW9G9 AbeJktu2SOV5P1LoBJEzj6jALRnY/i6hMcbnTua7tRlRIrWWhAFN/lDhH/anrSlnd3 6HUl5xBb6cv1MzBLt3Jk2IDBCyHrb2Ruq0WsBKga56LKPs5mN+J9iI1al6Fbd794qn TtkJh15HGvCMw== Date: Sat, 9 Mar 2024 19:46:38 +0100 From: Alejandro Colomar To: Andreas Schwab Cc: Rich Felker , musl@lists.openwall.com, Guillem Jover , libc-alpha@sourceware.org, libbsd@lists.freedesktop.org, "Serge E. Hallyn" , "Skyler Ferrante (RIT Student)" , Iker Pedrosa , Christian Brauner Message-ID: References: <20240309150258.GS4163@brightrain.aerifal.cx> <87o7bnjlsg.fsf@igel.home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2xIrF0aWbQtXRUgm" Content-Disposition: inline In-Reply-To: <87o7bnjlsg.fsf@igel.home> Subject: [musl] Re: Tweaking the program name for functions --2xIrF0aWbQtXRUgm Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Sat, 9 Mar 2024 19:46:38 +0100 From: Alejandro Colomar To: Andreas Schwab Cc: Rich Felker , musl@lists.openwall.com, Guillem Jover , libc-alpha@sourceware.org, libbsd@lists.freedesktop.org, "Serge E. Hallyn" , "Skyler Ferrante (RIT Student)" , Iker Pedrosa , Christian Brauner Subject: Re: Tweaking the program name for functions Hi Andreas, On Sat, Mar 09, 2024 at 07:35:27PM +0100, Andreas Schwab wrote: > On M=C3=A4r 09 2024, Alejandro Colomar wrote: >=20 > > There's not a portable way to configure them, AFAIK. You could say it's > > glibc and musl's fault, for importing the err.h functions without > > importing setprogname(3). >=20 > When glibc imported err, setprogname didn't exist yet. Thanks. Then BSD extended the contract. That's still a problem of musl and glibc. The API is deficient without setprogname(3), and should be fixed. I think libc should either drop err.h and let another library take ownership of the API, or add a way to configure it, hopefully being compatible with the BSDs. No? Have a lovely day! Alex --=20 --2xIrF0aWbQtXRUgm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6jqH8KTroDDkXfJAnowa+77/2zIFAmXsro4ACgkQnowa+77/ 2zKUNxAAn0Kc+3bILjQlTIVT4ulJ746aEY0kb2tDgzAae/HZDBoyaVPy7XICMXzw IQ07QYf4mE/Sfl1wA5iXH0Sha1R+wv59RW9Fff2uEHcwOQUG/7b1KVC5ncAIJ/F4 quzBeDJNcVMzJ5AMtP3yaxgijb4f/CzNnlZ8kiy3HGdpoik/Y6LQaVsSg0i/NOsZ rdfoGkWiWAV41EpQgNo7LSrs3QM2BPdcW6ScCdy/UuHR2iQ9a+hE9PbPvvFGq1G1 JEdA0Pw1G0cXR3LxOY6ka+odzyqSS+zWNMePX3ugtIT7rBctiwEVOeHDzGOUBpse HwyKeAO0ydoN//eiZKLASOVpWKKMV/cPhNjycQTVahkNhQV0xuy2vJPz12UVg7B2 Wqo56HaIWDKNZ2qitFKq2SDwbz7dx0e0dYRNwOsP1LKErUipNzWYW2qoSUjERR8z rZqHPyZ5N+M/WJWad3bnjqpu2mOhQImSwuhbW6JNA9rDJecHn+zaDxUfyYi77xwB cLgctiacRyroYY5QnUbyId4JzgnaaUlihgnZ5UCHXPmk6QG/Zf+pRhFJ2AhnWraT IH44IIXoS3SRtoezOK7ydBZXOwt32kV1++OU2msZgGbU383o8RvrGwK2lXtgZo2v GeFyc4UEWjCYgYcs0I03p5rpEMfDjM6TgKBmLHjaDNkkDKZkNsA= =5i/f -----END PGP SIGNATURE----- --2xIrF0aWbQtXRUgm--