From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A81FEC432BE for ; Fri, 27 Aug 2021 23:34:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7A46D60725 for ; Fri, 27 Aug 2021 23:34:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232405AbhH0Xfa convert rfc822-to-8bit (ORCPT ); Fri, 27 Aug 2021 19:35:30 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:38676 "EHLO zimbra.cs.ucla.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232501AbhH0Xf3 (ORCPT ); Fri, 27 Aug 2021 19:35:29 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A853A160084; Fri, 27 Aug 2021 16:34:39 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id o4AGZVDeb7dG; Fri, 27 Aug 2021 16:34:39 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 067A21600CC; Fri, 27 Aug 2021 16:34:39 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ty7gBUn6DmtH; Fri, 27 Aug 2021 16:34:38 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id D6872160084; Fri, 27 Aug 2021 16:34:38 -0700 (PDT) Subject: Re: [PATCH] malloc_hook.3: modernize for glibc 2.34 To: "Alejandro Colomar (man-pages)" Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org References: <20210810193708.10277-1-eggert@cs.ucla.edu> <20210810193708.10277-2-eggert@cs.ucla.edu> <6bb93825-0a24-75ad-9c56-9913f6e2978e@cs.ucla.edu> <87b23795-ac94-9ba4-087a-8c75e3d30764@gmail.com> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <56b090e7-3b39-7a1d-5e59-1e836eb0cca4@cs.ucla.edu> Date: Fri, 27 Aug 2021 16:34:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <87b23795-ac94-9ba4-087a-8c75e3d30764@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org On 8/27/21 4:11 PM, Alejandro Colomar (man-pages) wrote: > All good until here.  (Maybe the glibc commit that removed this could go > in the commit message, if you know it.) I don't know it, unfortunately. >>>   Programmers should instead preempt calls to the relevant functions >>> -by defining and exporting functions such as "malloc" and "free". >>> +by defining and exporting >>> +.BR malloc (), >>> +.BR free (), >>> +.BR realloc (), >>> +and >>> +.BR calloc (). > > Did this change with glibc 2.34? The glibc manual changed (it started documenting this stuff) but this part of the implementation did not change. > If not I think this should go to a separate "wfix" commit. Please feel free to do that. (I don't know what a "wfix" commit is, and don't particularly want to know. :-)