Skip to content

Commit b8c9a18

Browse files
author
Linus Torvalds
committed
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 <[email protected]>
1 parent 831830b commit b8c9a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/ptrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ int ptrace_attach(struct task_struct *task)
196196
/* the same process cannot be attached many times */
197197
if (task->ptrace & PT_PTRACED)
198198
goto bad;
199-
retval = may_attach(task);
199+
retval = __ptrace_may_attach(task);
200200
if (retval)
201201
goto bad;
202202

0 commit comments

Comments
 (0)