Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+1 -1
+1 -1
kernel/ptrace.c
··· 196 196 /* the same process cannot be attached many times */ 197 197 if (task->ptrace & PT_PTRACED) 198 198 goto bad; 199 - retval = may_attach(task); 199 + retval = __ptrace_may_attach(task); 200 200 if (retval) 201 201 goto bad; 202 202