From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E279D3858C2C; Thu, 24 Mar 2022 12:27:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E279D3858C2C From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug manual/28998] Document -D_FORTIFY_SOURCE Date: Thu, 24 Mar 2022 12:27:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2022 12:27:11 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28998 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adhemerval.zanella at lina= ro dot o | |rg --- Comment #1 from Adhemerval Zanella --- It is documented briefly on manual/creature.texi: 303 @defvr Macro _FORTIFY_SOURCE 304 @standards{GNU, (none)} 305 If this macro is defined to @math{1}, security hardening is added to 306 various library functions. If defined to @math{2}, even stricter 307 checks are applied. If defined to @math{3}, @theglibc{} may also use 308 checks that may have an additional performance overhead. 309 @end defvr But there is no further explanation of exactly each level enables, the functions covered, and how it plays with compiler. --=20 You are receiving this mail because: You are on the CC list for the bug.=