1
0
Fork 0

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>
hifive-unleashed-5.1
Linus Torvalds 2008-01-02 13:48:27 -08:00
parent 831830b5a2
commit b8c9a18712
1 changed files with 1 additions and 1 deletions

View 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;