From: William Roberts <bill.c.roberts@gmail.com>
To: libffi-discuss@sourceware.org
Subject: Enabling AARCH64 BTI
Date: Tue, 6 Feb 2024 13:00:35 -0600 [thread overview]
Message-ID: <CAFftDdqgemTATsX2DMQ-fH=Sthn=k7gUtxJHQtS3oratN-+6vQ@mail.gmail.com> (raw)
I was looking at packages that don't declare BTI in the GNU Notes
section of the ELF file, and found libffi was missing that.
Investigating libffi, it enables BTI, but does not add it to the notes
section and if it's not in the notes section the linker/loader will
disable BTI for the target process.
https://github.com/libffi/libffi/pull/822
Here are some helpful notes and details on it as explained by others:
- https://maskray.me/blog/2023-03-05-linker-notes-on-aarch64
- https://reviews.llvm.org/D62609
Thanks,
Bill
next reply other threads:[~2024-02-06 19:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-06 19:00 William Roberts [this message]
2024-02-06 21:10 ` DJ Delorie
2024-02-06 22:26 ` William Roberts
2024-02-06 22:36 ` DJ Delorie
2024-02-06 23:24 ` William Roberts
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFftDdqgemTATsX2DMQ-fH=Sthn=k7gUtxJHQtS3oratN-+6vQ@mail.gmail.com' \
--to=bill.c.roberts@gmail.com \
--cc=libffi-discuss@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).