From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-4.6 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 349101F8C6 for ; Mon, 12 Jul 2021 10:45:54 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5A9ED382C42F for ; Mon, 12 Jul 2021 10:45:53 +0000 (GMT) Received: from dog.birch.relay.mailchannels.net (dog.birch.relay.mailchannels.net [23.83.209.48]) by sourceware.org (Postfix) with ESMTPS id 813D0383583E for ; Mon, 12 Jul 2021 10:45:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 813D0383583E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gotplt.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2C301840DC2; Mon, 12 Jul 2021 10:45:40 +0000 (UTC) Received: from pdx1-sub0-mail-a70.g.dreamhost.com (100-96-16-95.trex.outbound.svc.cluster.local [100.96.16.95]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C5779840825; Mon, 12 Jul 2021 10:45:39 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from pdx1-sub0-mail-a70.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.16.95 (trex/6.3.3); Mon, 12 Jul 2021 10:45:40 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Vacuous-Invention: 1cff286140feceb3_1626086740024_1284823598 X-MC-Loop-Signature: 1626086740023:531730717 X-MC-Ingress-Time: 1626086740023 Received: from pdx1-sub0-mail-a70.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a70.g.dreamhost.com (Postfix) with ESMTP id 8A4D388688; Mon, 12 Jul 2021 03:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gotplt.org; h=subject:to :cc:references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=gotplt.org; bh=rO+9YS CWRvpHVaeiyqq3TXm50Is=; b=uHEhGf03UEnCQM3w5dp8ccYfxPd9xbXkEmw6kd ehsrnMb3PNMaO06V1R2QTPWEDR+mksJjXYeTAFQNfuLQuEzgPb7wmiVSpSF65JcK 0qSOVi0EChf2TycVTVpAhl3F/IhocNA51FX3xpKl1wM+SvEqXXm0HcQLPAiufRt/ u2474= Received: from [192.168.1.139] (unknown [1.186.101.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a70.g.dreamhost.com (Postfix) with ESMTPSA id 60DC5879D2; Mon, 12 Jul 2021 03:45:37 -0700 (PDT) Subject: Re: Security implications of debugging features To: Florian Weimer References: <4d9d675f-cffa-4a5f-0af2-3be56532ce67@gotplt.org> <87lf6bdf33.fsf@oldenburg.str.redhat.com> <746d3148-7ea3-d204-6e76-6f1c2092643a@gotplt.org> <87h7gzdegg.fsf@oldenburg.str.redhat.com> <874kczddc0.fsf@oldenburg.str.redhat.com> X-DH-BACKEND: pdx1-sub0-mail-a70 From: Siddhesh Poyarekar Message-ID: <2c20b93e-b50e-f805-54a6-621383c526ac@gotplt.org> Date: Mon, 12 Jul 2021 16:15:32 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <874kczddc0.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: libc-alpha@sourceware.org Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On 7/12/21 4:11 PM, Florian Weimer wrote: > * Siddhesh Poyarekar: > >> OK, then how about just the first paragraph for now? I was trying to >> write for a future where we have a way to, say, administratively >> disable the debugging features but I guess we could add that in later. >> >> ~~~~~~~~~~ >> Debugging features >> >> glibc comes with a number of debugging features that allow developers >> to isolate root causes of problems. Bugs in debugging features that >> are enabled by explicitly compiling applications or glibc to use them >> are not considered security vulnerabilities and will be treated as >> regular bugs. Examples of such features are mcheck and mtrace, which >> allow debugging and tracing of glibc malloc functions. >> ~~~~~~~~~~ > > It still needs to mention AT_SECURE, I think. Could you suggest text that you think should get added to cover this? Thanks, Siddhesh