From: Linus Torvalds Date: Wed, 2 Jan 2008 21:48:27 +0000 (-0800) Subject: Fix kernel/ptrace.c compile problem (missing "may_attach()") X-Git-Tag: MMI-PSA29.97-13-9~37887 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b8c9a18712f7b617fda66d878ce3759c9e575ba0;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- 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;