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>
This commit is contained in:
@@ -196,7 +196,7 @@ repeat:
|
|||||||
/* the same process cannot be attached many times */
|
/* the same process cannot be attached many times */
|
||||||
if (task->ptrace & PT_PTRACED)
|
if (task->ptrace & PT_PTRACED)
|
||||||
goto bad;
|
goto bad;
|
||||||
retval = may_attach(task);
|
retval = __ptrace_may_attach(task);
|
||||||
if (retval)
|
if (retval)
|
||||||
goto bad;
|
goto bad;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user