Skip to content

Commit

Permalink
Fix kernel/ptrace.c compile problem (missing "may_attach()")
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Torvalds committed Jan 2, 2008
1 parent 831830b commit b8c9a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ int ptrace_attach(struct task_struct *task)
/* 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;

Expand Down

0 comments on commit b8c9a18

Please sign in to comment.