Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107596007
D32456.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
957 B
Referenced Files
None
Subscribers
None
D32456.diff
View Options
diff --git a/sys/amd64/linux/linux_ptrace.c b/sys/amd64/linux/linux_ptrace.c
--- a/sys/amd64/linux/linux_ptrace.c
+++ b/sys/amd64/linux/linux_ptrace.c
@@ -84,7 +84,8 @@
#define LINUX_PTRACE_O_EXITKILL 1048576
#define LINUX_PTRACE_O_SUSPEND_SECCOMP 2097152
-#define LINUX_NT_PRSTATUS 1
+#define LINUX_NT_PRSTATUS 0x1
+#define LINUX_NT_X86_XSTATE 0x202
#define LINUX_PTRACE_O_MASK (LINUX_PTRACE_O_TRACESYSGOOD | \
LINUX_PTRACE_O_TRACEFORK | LINUX_PTRACE_O_TRACEVFORK | \
@@ -540,8 +541,12 @@
switch (addr) {
case LINUX_NT_PRSTATUS:
return (linux_ptrace_getregset_prstatus(td, pid, data));
+ case LINUX_NT_X86_XSTATE:
+ linux_msg(td, "PTRAGE_GETREGSET NT_X86_XSTATE not implemented; "
+ "returning EINVAL");
+ return (EINVAL);
default:
- linux_msg(td, "PTRACE_GETREGSET request %ld not implemented; "
+ linux_msg(td, "PTRACE_GETREGSET request %#lx not implemented; "
"returning EINVAL", addr);
return (EINVAL);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 17, 10:01 AM (19 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15837514
Default Alt Text
D32456.diff (957 B)
Attached To
Mode
D32456: linux: Improve debugging for PTRACE_GETREGSET
Attached
Detach File
Event Timeline
Log In to Comment