diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-02 16:48:27 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-02 16:48:27 -0500 |
commit | b8c9a18712f7b617fda66d878ce3759c9e575ba0 (patch) | |
tree | 95d4798a657b5267cf8e21e78a23aa7800a3bfcd | |
parent | 831830b5a2b5d413407adf380ef62fe17d6fcbf2 (diff) |
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.c | 2 |
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: | |||
196 | /* the same process cannot be attached many times */ | 196 | /* the same process cannot be attached many times */ |
197 | if (task->ptrace & PT_PTRACED) | 197 | if (task->ptrace & PT_PTRACED) |
198 | goto bad; | 198 | goto bad; |
199 | retval = may_attach(task); | 199 | retval = __ptrace_may_attach(task); |
200 | if (retval) | 200 | if (retval) |
201 | goto bad; | 201 | goto bad; |
202 | 202 | ||