From: Pavel Emelyanov <[EMAIL PROTECTED]>
The ia64 has its own sys_ptrace implementation and it was overlooked when the
pid namespaces patches were sent.
Use find_task_by_vpid() in it.
Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]>
Cc: "Eric W. Biederman" <[EMAIL PROTECTED]>
Cc: "Luck, Tony" <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
arch/ia64/kernel/ptrace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/ia64/kernel/ptrace.c~ia64-fix-ptrace-inside-a-namespace
arch/ia64/kernel/ptrace.c
--- a/arch/ia64/kernel/ptrace.c~ia64-fix-ptrace-inside-a-namespace
+++ a/arch/ia64/kernel/ptrace.c
@@ -1437,7 +1437,7 @@ sys_ptrace (long request, pid_t pid, uns
ret = -ESRCH;
read_lock(&tasklist_lock);
{
- child = find_task_by_pid(pid);
+ child = find_task_by_vpid(pid);
if (child) {
if (peek_or_poke)
child = find_thread_for_addr(child, addr);
_
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html