From 1cadaa6366811a03fb123b7d3a2eaa1991b4edb9 Mon Sep 17 00:00:00 2001 From: Antonio Huete Date: Tue, 1 Dec 2009 00:43:01 +0100 Subject: [PATCH] ptrace - Correctly terminate ptrace system call with END macro. This fixes a bug which caused ptrace trap to pass the incorrect ptrace_args to {sys,kern}_ptrace() functions, which are not able to find the PID we are trying to work with. Reported-by: Jan Lentfer --- lib/libc/x86_64/sys/ptrace.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/libc/x86_64/sys/ptrace.S b/lib/libc/x86_64/sys/ptrace.S index 5246112..bea573e 100644 --- a/lib/libc/x86_64/sys/ptrace.S +++ b/lib/libc/x86_64/sys/ptrace.S @@ -70,4 +70,4 @@ err: #else jmp HIDENAME(cerror) #endif -END(ptrace) +END(__sys_ptrace) -- 1.6.4