[PATCH] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS

Carlos O'Donell carlos@redhat.com
Thu Jan 27 05:59:29 GMT 2022


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


-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list