Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102763407
D36503.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
419 B
Referenced Files
None
Subscribers
None
D36503.diff
View Options
diff --git a/sys/arm64/arm64/ptrace_machdep.c b/sys/arm64/arm64/ptrace_machdep.c
--- a/sys/arm64/arm64/ptrace_machdep.c
+++ b/sys/arm64/arm64/ptrace_machdep.c
@@ -113,7 +113,7 @@
KASSERT(*sizep == sizeof(uint32_t),
("%s: invalid size", __func__));
- tp = (uint32_t)td->td_pcb->pcb_tpidr_el0;
+ tp = (uint32_t)td->td_pcb->pcb_tpidrro_el0;
memcpy(buf, &tp, sizeof(tp));
}
*sizep = sizeof(uint32_t);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 8:27 PM (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14664760
Default Alt Text
D36503.diff (419 B)
Attached To
Mode
D36503: arm64: Read tpidrro_el0 for the 32-bit TLS pointer.
Attached
Detach File
Event Timeline
Log In to Comment