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