Commit b8c9a187 authored by Linus Torvalds's avatar Linus Torvalds

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 831830b5
...@@ -196,7 +196,7 @@ int ptrace_attach(struct task_struct *task) ...@@ -196,7 +196,7 @@ int ptrace_attach(struct task_struct *task)
/* 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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment