From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward502c.mail.yandex.net (forward502c.mail.yandex.net [IPv6:2a02:6b8:c03:500:1:45:d181:d502]) by sourceware.org (Postfix) with ESMTPS id 405993858D28 for ; Tue, 2 May 2023 06:24:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 405993858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru Received: from mail-nwsmtp-smtp-production-main-59.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-59.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:8a9f:0:640:cc3b:0]) by forward502c.mail.yandex.net (Yandex) with ESMTP id 2ED3B5E9D9; Tue, 2 May 2023 09:24:03 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-59.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 1OGNNemDeeA0-xaYXl1rp; Tue, 02 May 2023 09:24:02 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1683008642; bh=ILCESzJcFf2pJfqxX+zYHk3+MAz/Rt0zoMQyokpGiLA=; h=From:In-Reply-To:Cc:Date:References:To:Subject:Message-ID; b=s3UdzhM8H5GzeYViTEhvi5hUfDqGBQN2TrPLGuBQiFiEs5radTC5M0oRcpBf5PX4V e49UaIwl2oCTmopz3enBg+VS6rxspnacL9hYPNgOc2Aarcvs1jTG9x9KdYgPaOet45 M/OQETrdT3/L4xEapLL/EPi677sFJ2xrt9vzSjis= Authentication-Results: mail-nwsmtp-smtp-production-main-59.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <0f8a28cb-9f69-a78a-68be-abf065575df8@yandex.ru> Date: Tue, 2 May 2023 11:24:01 +0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: proof for dlmem() (Re: [PATCH v9 0/13] implement dlmem() function) Content-Language: en-US To: Zack Weinberg Cc: GNU libc development , Adhemerval Zanella , Carlos O'Donell References: <298b04a6-3055-b89b-59c1-4cfbe955848e@yandex.ru> <81749d04-8cdb-de0b-b88e-24347ed535ba@yandex.ru> <729710b5-6dae-d5f2-99ee-6923be5e627d@yandex.ru> <20230412182043.GI3298@brightrain.aerifal.cx> <08d9ca95-112c-d85e-8e82-7a595ef4d051@yandex.ru> <78b5b5dc-5657-4bf8-24c6-6c00afb1cc40@yandex.ru> <83ee7b42-7a50-e8d1-e9ca-58ec2a12a995@linaro.org> <59862084-0fe3-7642-d3b3-01bb87eef7db@yandex.ru> <52d0b5e8-2c81-66e6-60dc-771d01b26fd6@linaro.org> <3f636504-818d-6520-6cf3-484503a8703c@yandex.ru> <598d5c35-86dd-4731-8099-4165bff514db@app.fastmail.com> From: stsp In-Reply-To: <598d5c35-86dd-4731-8099-4165bff514db@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 02.05.2023 04:11, Zack Weinberg пишет: > Now. Another thing you must understand before you send in any further > revisions of the patch is that glibc is extremely reluctant to add new > APIs. Witness how much we resisted adding strlcpy, a single function > with a clear specification and no interdependencies with any other > part of the C library. I think strlcpy() is a rather bad example here. I am using strlcpy() from libbsd, I have no problems with such usage, and I would never recommend adding it to glibc, for a very simple reason: its already in libbsd and works well. But my problem is different because glibc is deficient on any libdl extensions: external libdl extensions are simply not possible right now. If this is addressed, then I would never recommend having dlmem() in glibc - it will be in some other unrelated lib then. One way is to allow the customly-patched static libc to reside in a separate NS. I can work even on that, even though it requires quite a lot of knowledge on glibc internals, so I was stuck with tls. The problem is that I was never told on what should I work to solve my problem. The only thing I got, was a "drop your patches immediately" campaign. That is the main problem. Technical problems are solvable, but political ones - not.