Skip to contentSkip to conversation

arm64: doc: Add brk/mmap/mremap() to the Tagged Address ABI Exceptions

PATCH Applied Catalin Marinas 1 participant 2 messages Apr 23, 2021 – Apr 30, 2021 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: doc: Add brk/mmap/mremap() to the Tagged Address ABI Exceptions

Prior to commit dcde237319e6 ("mm: Avoid creating virtual address aliases in brk()/mmap()/mremap()"), the kernel allowed tagged addresses to be passed to the brk/mmap/mremap() syscalls. This relaxation was tightened in 5.6 (backported to stable 5.4) but the tagged-address-abi.rst document was only partially updated.

Fixes dcde237319e6 ("mm: Avoid creating virtual address aliases in brk()/mmap()/mremap()")
Cc Will Deacon <[email protected]>
Cc Vincenzo Frascino <[email protected]>
---
 Documentation/arm64/tagged-address-abi.rst | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/arm64/tagged-address-abi.rst +6 -0
index cbc4d4500241..459e6b66ff68 100644
@@ -113,6 +113,12 @@ ABI relaxation:
 
 - ``shmat()`` and ``shmdt()``.
 
+- ``brk()`` (since kernel v5.6).
+
+- ``mmap()`` (since kernel v5.6).
+
+- ``mremap()``, the ``new_address`` argument (since kernel v5.6).
+
 Any attempt to use non-zero tagged pointers may result in an error code
 being returned, a (fatal) signal being raised, or other modes of
 failure.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author Applied
#1 lore raw
Quoted 5 lines · Catalin Marinas

Prior to commit dcde237319e6 ("mm: Avoid creating virtual address aliases in brk()/mmap()/mremap()"), the kernel allowed tagged addresses to be passed to the brk/mmap/mremap() syscalls. This relaxation was tightened in 5.6 (backported to stable 5.4) but the tagged-address-abi.rst document was only partially updated.

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

[1/1] arm64: doc: Add brk/mmap/mremap() to the Tagged Address ABI Exceptions

      https://git.kernel.org/arm64/c/75516c75a72b
Signature · 7 lines
Catalin


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel