Skip to content

Commit 75516c7

Browse files
committed
arm64: doc: Add brk/mmap/mremap() to the Tagged Address ABI Exceptions
Prior to commit dcde237 ("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. Signed-off-by: Catalin Marinas <[email protected]> Fixes: dcde237 ("mm: Avoid creating virtual address aliases in brk()/mmap()/mremap()") Reported-by: Peter Maydell <[email protected]> Cc: Will Deacon <[email protected]> Cc: Vincenzo Frascino <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 9b924f4 commit 75516c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/arm64/tagged-address-abi.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ ABI relaxation:
113113

114114
- ``shmat()`` and ``shmdt()``.
115115

116+
- ``brk()`` (since kernel v5.6).
117+
118+
- ``mmap()`` (since kernel v5.6).
119+
120+
- ``mremap()``, the ``new_address`` argument (since kernel v5.6).
121+
116122
Any attempt to use non-zero tagged pointers may result in an error code
117123
being returned, a (fatal) signal being raised, or other modes of
118124
failure.

0 commit comments

Comments
 (0)