diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-02 22:48:27 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-02 22:48:27 +0100 |
commit | b8c9a18712f7b617fda66d878ce3759c9e575ba0 (patch) | |
tree | 95d4798a657b5267cf8e21e78a23aa7800a3bfcd /kernel | |
parent | restrict reading from /proc/<pid>/maps to those who share ->mm or can ptrace pid (diff) | |
download | linux-b8c9a18712f7b617fda66d878ce3759c9e575ba0.tar.xz linux-b8c9a18712f7b617fda66d878ce3759c9e575ba0.zip |
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>
Diffstat (limited to 'kernel')
-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: /* 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; |