提交 b8c9a187 编写于 作者: L 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: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册