[PATCH v2 23/31] arm64: Debugging support
Will Deacon
will.deacon at arm.com
Mon Aug 20 05:07:54 EDT 2012
On Fri, Aug 17, 2012 at 08:06:07AM +0100, Arnd Bergmann wrote:
> Sorry for the dumb question, but why do you even need PTRACE_GET_THREAD_AREA
> for 64 bit tasks? I thought the thread pointer is a GPR, or is this just
> for compat tasks?
The TLS is stored in a co-processor register which is read-only for
userspace. However, it's banked, so accessing the TLS of your child (the guy
you're ptracing) requires a system call.
Will
More information about the linux-arm-kernel
mailing list