mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 06:43:09 +00:00
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:
parent
831830b5a2
commit
b8c9a18712
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user