PTRACE_PEEKDATA consolidation
Identical implementations of PTRACE_PEEKDATA go into generic_ptrace_peekdata() function. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Christoph Hellwig <hch@lst.de> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
bcdcd8e725
commit
7664732315
@@ -110,6 +110,7 @@ static inline void ptrace_unlink(struct task_struct *child)
|
||||
__ptrace_unlink(child);
|
||||
}
|
||||
|
||||
int generic_ptrace_peekdata(struct task_struct *tsk, long addr, long data);
|
||||
|
||||
#ifndef force_successful_syscall_return
|
||||
/*
|
||||
|
Reference in New Issue
Block a user