[PATCH] arm64: bti: Set PROT_BTI on all BTI executables mapped by the kernel

Mark Brown broonie at kernel.org
Mon Feb 8 10:06:20 EST 2021


On Mon, Feb 08, 2021 at 02:53:16PM +0000, Dave Martin wrote:

> Question: will this change prevent BTI executables from working under a
> non-BTI-aware ld.so?  And do we care?  (I think "probably not" for both,
> but I'd be interested in others' views.)

Yes, I'd expect that we'd end up allowing a BTIed main executable
without a BTI ld.so.  We already have the case where we will enable BTI
for the vDSO even if nothing outside the kernel supports BTI and BTI is
intended to interwork happily so I'd be surprised if there were
problems.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210208/7b200920/attachment.sig>


More information about the linux-arm-kernel mailing list