mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
PTRACE_POKEDATA consolidation
Identical implementations of PTRACE_POKEDATA go into generic_ptrace_pokedata() function. AFAICS, fix bug on xtensa where successful PTRACE_POKEDATA will nevertheless return EPERM. 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
7664732315
commit
f284ce7269
23 changed files with 32 additions and 98 deletions
|
@ -111,6 +111,7 @@ static inline void ptrace_unlink(struct task_struct *child)
|
|||
}
|
||||
|
||||
int generic_ptrace_peekdata(struct task_struct *tsk, long addr, long data);
|
||||
int generic_ptrace_pokedata(struct task_struct *tsk, long addr, long data);
|
||||
|
||||
#ifndef force_successful_syscall_return
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue