> This change enables Shadow Stack protection on applications and
> libraries built with gcc (C, C++), [...]

Only C and C++? Or everything compiled with GCC and -fcf-protection?

Readelf shows "IBT, SHSTK" for several of our Ada libraries, so it
would seem like those are compliant – but those properties are missing
from Libgnat, which all Ada code is linked to. Thus I'm wondering
whether the GCC package just needs to be fixed to build a compliant
Libgnat, or whether there's some deeper reason why the protection works
only for C and C++.

While Ada is much more resistant to buffer overflows than C, many Ada
programs are linked to libraries written in C (because reimplementing
all the libraries would be a lot of work). It would be unfortunate if
those libraries would lose this protection when loaded by an Ada
program.

Björn Persson

Attachment: pgp6WrOB2gRBQ.pgp
Description: OpenPGP digital signatur

-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to