Commit c88adf2f authored by Dave Jones's avatar Dave Jones

[PATCH] ptrace bug

We weren't incrementing the address when walking a processes
address space.  From 2.4
parent 0ebd1760
......@@ -160,6 +160,7 @@ int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, in
put_page(page);
len -= bytes;
buf += bytes;
addr += bytes;
}
up_read(&mm->mmap_sem);
mmput(mm);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment