Message ID | 20220127072429.1174118-1-siddhesh@sourceware.org |
---|---|
State | Superseded |
Headers | show |
Series | [v2] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS | expand |
Context | Check | Description |
---|---|---|
dj/TryBot-apply_patch | success | Patch applied to master at the time it was sent |
dj/TryBot-32bit | success | Build for i686 |
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 --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
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org> --- NEWS | 5 +++++ 1 file changed, 5 insertions(+)