![]() |
|
Message-ID: <20240215091847.GB1884416@port70.net> Date: Thu, 15 Feb 2024 10:18:47 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: enh <enh@...gle.com> Cc: Rich Felker <dalias@...c.org>, William Roberts <bill.c.roberts@...il.com>, musl@...ts.openwall.com Subject: Re: PAC/BTI Support on aarch64 * enh <enh@...gle.com> [2024-02-14 16:22:05 -0800]: > On Wed, Feb 14, 2024 at 4:03 PM Szabolcs Nagy <nsz@...t70.net> wrote: > > i.e. no equivalent to -Wa,--noexecstack we use for GNU_STACK > > (this was an oversight, llvm added an option, binutils gas has none). > > what's the option? (since Android only supports llvm, that might be > worth considering as a slight cleanup for us...) -mmark-bti-property https://releases.llvm.org/16.0.0/tools/clang/docs/ClangCommandLineReference.html#cmdoption-clang-mmark-bti-property https://reviews.llvm.org/D81930 > > as far as i know openssl is the reason android does not enable pac: > > they added the hint instructions incorrectly at first so there are > > binaries that fail if the hw enables pac. > > that was one reason why "android does not enable pac" _by default in > the android target triples for app developers_, yes --- though i think > we're at the point where we think we should flip that default (not > least because the number of users whose devices would actually > _benefit_ from the extra instructions is a lot larger now!): > https://github.com/android/ndk/issues/1914 i see
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.