From: Pavel Emelyanov <xemul@xxxxxxxxxx> 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 <xemul@xxxxxxxxxx> Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Cc: "Luck, Tony" <tony.luck@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- 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 @@ -1561,7 +1561,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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |