From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from beige.elm.relay.mailchannels.net (beige.elm.relay.mailchannels.net [23.83.212.16]) by sourceware.org (Postfix) with ESMTPS id 01C0C3858D28 for ; Fri, 6 Jan 2023 12:27:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 01C0C3858D28 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=sourceware.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=sourceware.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 D26F07E0D98; Fri, 6 Jan 2023 12:27:23 +0000 (UTC) Received: from pdx1-sub0-mail-a304.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3EFEA7E0D26; Fri, 6 Jan 2023 12:27:23 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1673008043; a=rsa-sha256; cv=none; b=AcPRnZ8iKQa8QjT3C3Yv0gL03f/32EwiiWXNFFkJQqWngsXlomDOzaHSJTUCnpCMhsBpeD 0VvLT8ImNpv8nWTE5Z++smUWJhitj+EogrfrGaWbWyOAiP1JjG5roLnP+iNcL2Hta/o9P9 2d6j3tD6FkOhgD3b21fcXnPIh5sBywLditjECEpFZ31kuTfDt181JADg8ZJfZz+E91VjJH 947DSHeZMdlvqyMfyXilcg/yVfvLDqE7IY8ziUiKFNiObQhfN+Wv4eu1tIo6NgOp5kkOF0 AN3DcARWTtLlc1v6Ij4WcWEqRGQnsbt1/+NSoI3Nj0DYY0Bd0D2YORYz2LgElg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1673008043; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MMcTZaK3xriJmpaUQRAk/JtZiRGZcEWpwdx7pYQ3OBM=; b=e0kEzE4zbL0Odh5bgCn7vHTfcOZeT9wIPyc66hbBKXZCMScv13OmnRdJNo81ad5DRs/Ups A2yd/Wj0JlLVRlWiTrcaWgqRd5EB5r5X9vsHMJegVHwKtMYbLp+Rd98ZNX9uthVkfEbZly sIT691NmLWiksU/bDhAGt5hLuxOHWk04W/QNfCJ7IAz3wBb9w/F+d0wnomaqqhigSb0JAH JORgZpP03ULPLm95xYHuuQoEYdjzaT/z+eHMIOiV1TNAJLfuqMZAUsSZa2BqdI+rgrdP2H 3mboco2gLI07mOg2dGgSnhFUNOI2r7a7DT9ie4o4O3Ax2TG/VLyRAnDai5XbLg== ARC-Authentication-Results: i=1; rspamd-586dfc9d4d-rtvrw; auth=pass smtp.auth=dreamhost smtp.mailfrom=siddhesh@sourceware.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Print-Abiding: 33d572f126e51317_1673008043608_3546644038 X-MC-Loop-Signature: 1673008043608:755022125 X-MC-Ingress-Time: 1673008043607 Received: from pdx1-sub0-mail-a304.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.97.74.30 (trex/6.7.1); Fri, 06 Jan 2023 12:27:23 +0000 Received: from [192.168.0.182] (unknown [76.68.24.147]) (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-a304.dreamhost.com (Postfix) with ESMTPSA id 4NpMzZ6JMJz35; Fri, 6 Jan 2023 04:27:22 -0800 (PST) Message-ID: <6c4f8d66-872e-f7f3-0bfc-b5ea2b175aa1@sourceware.org> Date: Fri, 6 Jan 2023 07:27:11 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v3] Add _FORTIFY_SOURCE implementation documentation [BZ #28998] Content-Language: en-US To: Yann Droneaud Cc: GNU C Library References: <20221215162506.1802077-1-siddhesh@sourceware.org> <20221222160403.4151387-1-siddhesh@sourceware.org> <03eac5f2-67ad-b3d6-4dcf-f88948d731c5@opteya.com> From: Siddhesh Poyarekar In-Reply-To: <03eac5f2-67ad-b3d6-4dcf-f88948d731c5@opteya.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1167.3 required=5.0 tests=BAYES_00,KAM_DMARC_NONE,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_SOFTFAIL,TXREP 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: On 2023-01-05 16:04, Yann Droneaud wrote: >> +The @code{_FORTIFY_SOURCE} macro may be defined by users to control >> +hardening of calls into some functions in @theglibc{}. > > Macro must be defined before header inclusion. > Thanks, I changed this to: The @code{_FORTIFY_SOURCE} macro may be defined by users to control hardening of calls into some functions in @theglibc{}. The definition should be at the top of the source file before any headers are included or at the pre-processor commandline using the @code{-D} switch. Sid