Thread (12 messages) 12 messages, 3 authors, 2018-03-09

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

flat view

From: Andrey Konovalov <hidden>
Date: 2018-03-09 17:58:00
Also in: linux-alpha, linux-arch, linux-mips, linux-mm, linux-riscv, 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!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help