summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2008-01-02 13:48:27 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-01-02 13:48:27 -0800
commitb8c9a18712f7b617fda66d878ce3759c9e575ba0 (patch)
tree95d4798a657b5267cf8e21e78a23aa7800a3bfcd
parent831830b5a2b5d413407adf380ef62fe17d6fcbf2 (diff)
downloadlinux-b8c9a18712f7b617fda66d878ce3759c9e575ba0.tar.bz2
Fix kernel/ptrace.c compile problem (missing "may_attach()")
The previous commit missed one use of "may_attach()" that had been renamed to __ptrace_may_attach(). Tssk, tssk, Al. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index 0c65d306f412..c25db863081d 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -196,7 +196,7 @@ repeat:
/* the same process cannot be attached many times */
if (task->ptrace & PT_PTRACED)
goto bad;
- retval = may_attach(task);
+ retval = __ptrace_may_attach(task);
if (retval)
goto bad;