Page MenuHomeFreeBSD

D29925.diff
No OneTemporary

D29925.diff

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

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)

Event Timeline