public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS
@ 2022-01-27  5:36 Siddhesh Poyarekar
  2022-01-27  5:59 ` Carlos O'Donell
  0 siblings, 1 reply; 7+ messages in thread
From: Siddhesh Poyarekar @ 2022-01-27  5:36 UTC (permalink / raw)
  To: libc-alpha

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.
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * On x86-64, the LD_PREFER_MAP_32BIT_EXEC environment variable support
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS
  2022-01-27  5:36 [PATCH] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS Siddhesh Poyarekar
@ 2022-01-27  5:59 ` Carlos O'Donell
  2022-01-27  7:24   ` [PATCH v2] " Siddhesh Poyarekar
  0 siblings, 1 reply; 7+ messages in thread
From: Carlos O'Donell @ 2022-01-27  5:59 UTC (permalink / raw)
  To: Siddhesh Poyarekar, libc-alpha

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS
  2022-01-27  5:59 ` Carlos O'Donell
@ 2022-01-27  7:24   ` Siddhesh Poyarekar
  2022-01-27  8:51     ` Andreas Schwab
  0 siblings, 1 reply; 7+ messages in thread
From: Siddhesh Poyarekar @ 2022-01-27  7:24 UTC (permalink / raw)
  To: libc-alpha

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
---
 NEWS | 5 +++++
 1 file changed, 5 insertions(+)

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
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS
  2022-01-27  7:24   ` [PATCH v2] " Siddhesh Poyarekar
@ 2022-01-27  8:51     ` Andreas Schwab
  2022-01-27  9:04       ` [PATCH v3] " Siddhesh Poyarekar
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2022-01-27  8:51 UTC (permalink / raw)
  To: Siddhesh Poyarekar via Libc-alpha; +Cc: Siddhesh Poyarekar

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

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v3] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS
  2022-01-27  8:51     ` Andreas Schwab
@ 2022-01-27  9:04       ` Siddhesh Poyarekar
  2022-01-30  5:12         ` Siddhesh Poyarekar
  0 siblings, 1 reply; 7+ messages in thread
From: Siddhesh Poyarekar @ 2022-01-27  9:04 UTC (permalink / raw)
  To: libc-alpha; +Cc: carlos, Andreas Schwab

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
---
 NEWS | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/NEWS b/NEWS
index a9f25d3225..02331f0f02 100644
--- a/NEWS
+++ b/NEWS
@@ -134,6 +134,12 @@ 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
+  the __builtin_dynamic_object_size function 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
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v3] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS
  2022-01-27  9:04       ` [PATCH v3] " Siddhesh Poyarekar
@ 2022-01-30  5:12         ` Siddhesh Poyarekar
  2022-01-31 14:29           ` Siddhesh Poyarekar
  0 siblings, 1 reply; 7+ messages in thread
From: Siddhesh Poyarekar @ 2022-01-30  5:12 UTC (permalink / raw)
  To: libc-alpha, Carlos O'Donell; +Cc: Andreas Schwab

Carlos, may I push this?  This is pretty much exactly what you suggested 
with Andreas' suggestion incorporated.

Thanks,
Siddhesh

On 27/01/2022 14:34, Siddhesh Poyarekar via Libc-alpha wrote:
> Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
> ---
>   NEWS | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/NEWS b/NEWS
> index a9f25d3225..02331f0f02 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -134,6 +134,12 @@ 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
> +  the __builtin_dynamic_object_size function 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v3] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS
  2022-01-30  5:12         ` Siddhesh Poyarekar
@ 2022-01-31 14:29           ` Siddhesh Poyarekar
  0 siblings, 0 replies; 7+ messages in thread
From: Siddhesh Poyarekar @ 2022-01-31 14:29 UTC (permalink / raw)
  To: libc-alpha, Carlos O'Donell; +Cc: Andreas Schwab

Pushed after discussing this on the upstream call today.

Thanks,
Siddhesh

On 30/01/2022 10:42, Siddhesh Poyarekar wrote:
> Carlos, may I push this?  This is pretty much exactly what you suggested 
> with Andreas' suggestion incorporated.
> 
> Thanks,
> Siddhesh
> 
> On 27/01/2022 14:34, Siddhesh Poyarekar via Libc-alpha wrote:
>> Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
>> ---
>>   NEWS | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
>> diff --git a/NEWS b/NEWS
>> index a9f25d3225..02331f0f02 100644
>> --- a/NEWS
>> +++ b/NEWS
>> @@ -134,6 +134,12 @@ 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
>> +  the __builtin_dynamic_object_size function 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
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-01-31 14:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27  5:36 [PATCH] Mention _FORTIFY_SOURCE=3 for gcc12 in NEWS Siddhesh Poyarekar
2022-01-27  5:59 ` Carlos O'Donell
2022-01-27  7:24   ` [PATCH v2] " Siddhesh Poyarekar
2022-01-27  8:51     ` Andreas Schwab
2022-01-27  9:04       ` [PATCH v3] " Siddhesh Poyarekar
2022-01-30  5:12         ` Siddhesh Poyarekar
2022-01-31 14:29           ` Siddhesh Poyarekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).