Re: [PATCH 19/22] arm64: mte: Allow user control of the tag check mode via prctl()

From
Catalin Marinas <catalin.marinas@arm.com>
Date
2020-02-12 11:45:23
Also in
linux-arch, linux-mm
Reply to
Kevin Brodsky, 2019-12-27
On Fri, Dec 27, 2019 at 02:34:32PM +0000, Kevin Brodsky wrote:
Not just related to this patch, but here goes. While trying to debug an
MTE-enabled process, I realised that there's no way to tell the tagged addr
/ MTE thread configuration from outside of the thread. At this point I
thought it'd be really nice if this were to be exposed in /proc/pid, maybe
in /proc/pid/status. Unfortunately there seems to be no precedent for an
arch-specific feature to be exposed there. I guess a ptrace call would work
as well, although it wouldn't be as practical without using a debugger.
There is proc_pid_arch_status(), currently only used by x86 to report
the avx512 status. We could do the same on arm64 and provide information
information on the MTE status, SVE configuration, ptrauth. I think this
can be a separate patch covering all these.

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (45 messages) 45 messages, 5 authors, last reply 2020-02-19
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