Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS

Message ID 20220127053645.1173238-1-siddhesh@sourceware.org
State Superseded
Headers
Series Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS |

Checks

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

Commit Message

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

Comments

Carlos O'Donell Jan. 27, 2022, 5:59 a.m. UTC | #1
On 1/27/22 00:36, Siddhesh Poyarekar wrote:
> Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
> ---
>  NEWS | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/NEWS b/NEWS
> index a9f25d3225..58fb1f148d 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -134,6 +134,8 @@ Major new features:
>    controlling terminal in the new process in a race free manner.  These
>    functions are GNU extensions.
>  
> +* _FORTIFY_SOURCE=3 is now enabled for gcc 12 and later.

Suggest:

* 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).

Please post v2.

> +
>  Deprecated and removed features, and other changes affecting compatibility:
>  
>  * On x86-64, the LD_PREFER_MAP_32BIT_EXEC environment variable support
  

Patch

diff --git a/NEWS b/NEWS
index a9f25d3225..58fb1f148d 100644
--- a/NEWS
+++ b/NEWS
@@ -134,6 +134,8 @@  Major new features:
   controlling terminal in the new process in a race free manner.  These
   functions are GNU extensions.
 
+* _FORTIFY_SOURCE=3 is now enabled for gcc 12 and later.
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * On x86-64, the LD_PREFER_MAP_32BIT_EXEC environment variable support