Re: F45 Change Proposal: Enable Shadow Stack by Default on x86_64 (system-wide)

CS Sushi Man via devel <[email protected]>
Newsgroups gmane.linux.redhat.fedora.devel
Message-ID <Ylth3LkllB_hbDnbYx4MBCrvPi6KS5-9_pt_oLb_ABLoJbjnl2ZYOkyhpim4_wyz_63KJbXm38oIIUEQ_Zj6j7y68MbsvK0eSkBCzKztYsc=@protonmail.com>

On Tuesday, July 14th, 2026 at 18:24, CS Sushi Man via devel <[email protected]> wrote:

>   if (syscall(SYS_arch_prctl, ARCH_SHSTK_UNLOCK, feature) < 0)
>   {
>     fprintf(stderr, "Error (failed to unlock): %s.\n", strerror(errno));
>     return 1;
>   }

  If the code I sent doesn't work, try removing the if-block I
quoted above. Linux might not like the prospect of non-root
programs unlocking/locking this feature.

          - C. S. Sushi


Sent with Proton Mail secure email.
-- 
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.