Re: [RFC PATCH 0/6] arm64: untag user pointers passed to the kernel

From
Andrey Konovalov <hidden>
Date
2018-03-09 17:58:00
Also in
linux-arch, linux-mips, linux-mm, linux-riscv, linuxppc-dev, lkml
On Fri, Mar 9, 2018 at 3:15 PM, Robin Murphy [off-list ref] wrote:
Hi Andrey,

On 09/03/18 14:01, Andrey Konovalov wrote:
quoted
arm64 has a feature called Top Byte Ignore, which allows to embed pointer
tags into the top byte of each pointer. Userspace programs (such as
HWASan, a memory debugging tool [1]) might use this feature and pass
tagged user pointers to the kernel through syscalls or other interfaces.

If you propose changing the ABI, then
Documentation/arm64/tagged-pointers.txt needs to reflect the new one, since
passing nonzero tags via syscalls is currently explicitly forbidden.

Robin.
Hi Robin!

I will include changes to Documentation/arm64/tagged-pointers.txt in
the next version.

Thanks!
Thread (1 message) 1 message, 1 author, last reply 2018-03-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help