mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
bcdcd8e725
commit
7664732315
21 changed files with 43 additions and 166 deletions
|
@ -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
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue