On Thu, Jul 31, 2025 at 04:31:14PM +0200, Jens Remus wrote:
> Hello Stefan!
> 
> On 7/10/2025 4:16 PM, Stefan Schulze Frielinghaus wrote:
> > So far only a per thread canary in the TLS block is supported.  This
> > patch adds support for a global canary, too.  For this the new option
> > -mstack-protector-guard={global,tls} is added which defaults to tls.
> 
> To be on par with x86 and the generic (?) option Clang, wouldn't it make
> sense to implement option -mstack-protector-guard-symbol=<symbol> as
> well?

This patch is motivated only by the kernel folks.  Whether we need an
option -mstack-protector-guard-symbol=<symbol> is not about to be on par
but rather whether the option is really used out there.  Thus, we should
rather discuss this with the kernel folks what they need.

Cheers,
Stefan

Reply via email to