[PATCH v10 0/2] arm64: Enable BTI for the executable as well as the interpreter

Will Deacon will@kernel.org
Mon Mar 7 22:03:27 GMT 2022


On Mon, 28 Feb 2022 13:06:04 +0000, Mark Brown wrote:
> Deployments of BTI on arm64 have run into issues interacting with
> systemd's MemoryDenyWriteExecute feature.  Currently for dynamically
> linked executables the kernel will only handle architecture specific
> properties like BTI for the interpreter, the expectation is that the
> interpreter will then handle any properties on the main executable.
> For BTI this means remapping the executable segments PROT_EXEC |
> PROT_BTI.
> 
> [...]

Applied to arm64 (for-next/bti), thanks!

[1/2] elf: Allow architectures to parse properties on the main executable
      https://git.kernel.org/arm64/c/825b99a491ec
[2/2] arm64: Enable BTI for main executable as well as the interpreter
      https://git.kernel.org/arm64/c/ddc35eb71d63

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev


More information about the Libc-alpha mailing list