Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106981569
D29925.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
390 B
Referenced Files
None
Subscribers
None
D29925.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
@@ -313,6 +313,8 @@
error = kern_ptrace(td, PT_READ_I, pid, addr, 0);
if (error == 0)
error = copyout(td->td_retval, data, sizeof(l_int));
+ else if (error == ENOMEM)
+ error = EIO;
td->td_retval[0] = error;
return (error);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 11:44 AM (6 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15732040
Default Alt Text
D29925.diff (390 B)
Attached To
Mode
D29925: linux: make ptrace(2) return EIO when trying to peek invalid address
Attached
Detach File
Event Timeline
Log In to Comment