diff mbox series

[v2] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS

Message ID 20220127072429.1174118-1-siddhesh@sourceware.org
State New
Headers show
Series [v2] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS | expand

Commit Message

Siddhesh Poyarekar Jan. 27, 2022, 7:24 a.m. UTC
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
---
 NEWS | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Andreas Schwab Jan. 27, 2022, 8:51 a.m. UTC | #1
On Jan 27 2022, Siddhesh Poyarekar via Libc-alpha wrote:

> +  __builtin_dynamic_object_size() to deliver additional fortification balanced

the __builtin_dynamic_object_size function
diff mbox series

Patch

diff --git a/NEWS b/NEWS
index a9f25d3225..543ade2758 100644
--- a/NEWS
+++ b/NEWS
@@ -134,6 +134,11 @@  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
+  __builtin_dynamic_object_size() 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