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

Florian Weimer <[email protected]>
Newsgroups gmane.linux.redhat.fedora.devel
Message-ID <[email protected]>
* Zbigniew Jędrzejewski-Szmek:

> On Wed, Jul 01, 2026 at 04:12:03PM -0400, Neal Gompa wrote:
>> On Wed, Jul 1, 2026 at 3:59 PM Zbigniew Jędrzejewski-Szmek
>> <[email protected]> wrote:
>> >
>> > > Wiki - https://fedoraproject.org/wiki/Changes/ShadowStack
>> > > # The `dlopen`ed library is compiled with Shadow Stack support enabled.
>> > > # The application opts out of Shadow Stack support using glibc's
>> > > System-Wide Tunables feature. For example, a package named `app`
>> > > providing `/usr/bin/app` would install `/etc/tunables.conf.d/app.conf`
>> >
>> > Please, please, please, make that /usr/lib/tunables.conf.d/app.conf
>> > by default. As described below, this is clearly something that is
>> > part of the rpm and not "local configuration".
>> >
>> 
>> I don't think this path exists. That's a glibc thing, I think, and the
>> doc about it doesn't indicate any hermetic /usr support.
>> 
>> https://sourceware.org/git/?p=glibc.git;a=blobdiff;f=manual/tunables.texi;h=828c68151ad887550430605f007e289b5235f110;hp=e1d9fbae9cebe961fe45203251a761c3323a9917;hb=fae194043a099d45c044c883467c934153ecc51f;hpb=fcea66cd4685f9f3719e09cac52c73b9ece4bade
>
> Hmm, lack of support for the /usr-/etc split in new code in 2026
> is … disappointing.

We can still change it.  I suggested that we re-use /etc/ld.so.conf for
the tunables settings.  Then

  Bug 2440274 - Source ld.so configs drop-ins from /usr/lib
  <https://bugzilla.redhat.com/show_bug.cgi?id=2440274>

would cover everything.  But it was a minority viewpoint at the time of
patch review.

Thanks,
Florian

-- 
_______________________________________________
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.