From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dormouse.elm.relay.mailchannels.net (dormouse.elm.relay.mailchannels.net [23.83.212.50]) by sourceware.org (Postfix) with ESMTPS id 5FD343858D28 for ; Sun, 30 Jan 2022 05:13:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5FD343858D28 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 4B05E20DE9; Sun, 30 Jan 2022 05:13:00 +0000 (UTC) Received: from pdx1-sub0-mail-a307.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id A166A20DC8; Sun, 30 Jan 2022 05:12:59 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from pdx1-sub0-mail-a307.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.107.255.168 (trex/6.4.3); Sun, 30 Jan 2022 05:13:00 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Cure-Celery: 1a45c94b53d8d4ae_1643519580115_1876021921 X-MC-Loop-Signature: 1643519580114:3761146729 X-MC-Ingress-Time: 1643519580114 Received: from [192.168.1.174] (unknown [1.186.224.220]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a307.dreamhost.com (Postfix) with ESMTPSA id 4JmfTj4FHGz1P; Sat, 29 Jan 2022 21:12:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gotplt.org; s=gotplt.org; t=1643519579; bh=YsjlPmu+Qj9z77qF0/81wB2KbSQ=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=N7dDGexHFw1xkTzguJXIVUCS95T8WL1cqEHtmrnfsmVPpoNfG1Ju894uanfO7oE6d 96mSEcQOLsR5FxYnGrciTxP5+SZJUfE+LGF8NPTlUvt75uy9o6kg+oEni0yDfjgqnJ n8YwvVNSkDZB1SDnVx4UuqUGHaL+sp10/ujLzq8A= Message-ID: <8a689c7f-ab76-ea29-45b9-67af907966d5@gotplt.org> Date: Sun, 30 Jan 2022 10:42:51 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH v3] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS Content-Language: en-US To: libc-alpha@sourceware.org, Carlos O'Donell Cc: Andreas Schwab References: <871r0tv9wq.fsf@igel.home> <20220127090457.1175254-1-siddhesh@sourceware.org> From: Siddhesh Poyarekar In-Reply-To: <20220127090457.1175254-1-siddhesh@sourceware.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3036.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: , X-List-Received-Date: Sun, 30 Jan 2022 05:13:04 -0000 Carlos, may I push this? This is pretty much exactly what you suggested with Andreas' suggestion incorporated. Thanks, Siddhesh On 27/01/2022 14:34, Siddhesh Poyarekar via Libc-alpha wrote: > Signed-off-by: Siddhesh Poyarekar > --- > NEWS | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/NEWS b/NEWS > index a9f25d3225..02331f0f02 100644 > --- a/NEWS > +++ b/NEWS > @@ -134,6 +134,12 @@ Major new features: > controlling terminal in the new process in a race free manner. These > functions are GNU extensions. > > +* Source fortification (_FORTIFY_SOURCE) level 3 is now available for > + applications compiling with glibc and gcc 12 and later. Level 3 leverages > + the __builtin_dynamic_object_size function to deliver additional > + fortification balanced against additional runtime cost (checking non-constant > + bounds). > + > Deprecated and removed features, and other changes affecting compatibility: > > * On x86-64, the LD_PREFER_MAP_32BIT_EXEC environment variable support