From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 5A2553858CDA for ; Tue, 24 Oct 2023 19:28:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5A2553858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5A2553858CDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698175719; cv=none; b=D/9IUb5YO7MB7U04u5SJk04vL4plm23UisXmEAFXaRPzsH/U5DDPHcm+2pnOxJC83t2pYCnwoyLUCRUn6+BsOApclDg8cKdjpac7jVRsuJwwST8pRRnoH5TRR5nkK+PQyn4mPHesoDK2brWSAXMJUC9nKtlZdMoB3zB+PPQFtuo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698175719; c=relaxed/simple; bh=xpzuWBLV/J5VAc4F3iMpeFsbZrjXqBBkPTUqyJOzLNY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=t5F2lDX6g8+A7364yLtBFwFd6bhY/uQSAuu6X3LSCYgBMlY0KYaBiliO3iMGNBKjM0D9GEgpak6O/ANnM/LYCC1kUahD/HYBRJJMJyvndkkf3BcCP02WBV5I80cHaK7sHeM51yyfH9HgQjOKBOfqpRtfjD22e07VZz29Bl62Ovw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698175718; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=zjlevQOu/yghQf861DLPGggZezjaEwlSa6VXYuP/88Q=; b=cXZkBamdnc0p8cOw90OgtexiEquSavGRTy89csIGc8iIQdma2S2mbZ48hIV7xZGcYTx/uu JAKIgiDiPY4VMCx8lwHfA0TfWBYzwO2t8D13xYhbuIT5jL+uphmGa1nL7X3t0oqH3+vARu ghYdXgFfsM7C+l510XD3La+zZhiWTE0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-635-evfrbg8_P62TWySNP6Ea2w-1; Tue, 24 Oct 2023 15:28:32 -0400 X-MC-Unique: evfrbg8_P62TWySNP6Ea2w-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C433E101A53B; Tue, 24 Oct 2023 19:28:31 +0000 (UTC) Received: from greed.delorie.com (unknown [10.22.8.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A34391121314; Tue, 24 Oct 2023 19:28:31 +0000 (UTC) Received: from greed.delorie.com.redhat.com (localhost [127.0.0.1]) by greed.delorie.com (8.15.2/8.15.2) with ESMTP id 39OJSUG03982866; Tue, 24 Oct 2023 15:28:30 -0400 From: DJ Delorie To: Alejandro Colomar Cc: adhemerval.zanella@linaro.org, vincent@vinc17.net, linux-man@vger.kernel.org, libc-alpha@sourceware.org Subject: Re: [PATCH] mcheck.3, mtrace.3: update examples for glibc 2.34 In-Reply-To: Date: Tue, 24 Oct 2023 15:28:30 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Alejandro Colomar writes: > Why was it moved to a different library? Security. Moving unneeded code out of libc.so makes it unavailable to hackers. The malloc-related code in glibc is a common target for such things.