diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2024-03-12 20:00:20 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2024-03-13 10:53:20 +0000 |
commit | 69ebc0182406541f0be0f086cdfff13ac56e7385 (patch) | |
tree | 30d949dc857a11ebd5ebd5920b49cbc46edd65f6 /Documentation/rust | |
parent | f1bbc4e9cfa4c0f29883171e9d01c01cbe94becc (diff) | |
download | linux-69ebc0182406541f0be0f086cdfff13ac56e7385.tar.gz linux-69ebc0182406541f0be0f086cdfff13ac56e7385.tar.bz2 linux-69ebc0182406541f0be0f086cdfff13ac56e7385.zip |
Revert "arm64: mm: add support for WXN memory translation attribute"
This reverts commit 50e3ed0f93f4f62ed2aa83de5db6cb84ecdd5707.
The SCTLR_EL1.WXN control forces execute-never when a page has write
permissions. While the idea of hardening such write/exec combinations is
good, with permissions indirection enabled (FEAT_PIE) this control
becomes RES0. FEAT_PIE introduces a slightly different form of WXN which
only has an effect when the base permission is RWX and the write is
toggled by the permission overlay (FEAT_POE, not yet supported by the
arm64 kernel). Revert the patch for now.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/ZfGESD3a91lxH367@arm.com
Diffstat (limited to 'Documentation/rust')
0 files changed, 0 insertions, 0 deletions