Fix kernel/ptrace.c compile problem (missing "may_attach()")
[safe/jmp/linux-2.6] / kernel / ptrace.c
index 0c65d30..c25db86 100644 (file)
@@ -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;