projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
831830b
)
Fix kernel/ptrace.c compile problem (missing "may_attach()")
author
Linus Torvalds
<
[email protected]
>
Wed, 2 Jan 2008 21:48:27 +0000
(13:48 -0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 2 Jan 2008 21:48:27 +0000
(13:48 -0800)
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]
>
kernel/ptrace.c
patch
|
blob
|
history
diff --git
a/kernel/ptrace.c
b/kernel/ptrace.c
index 0c65d306f41200adaa0b60311eb7493f4d5f0939..c25db863081dac8d999b849e4b34d05dac96840e 100644
(file)
--- a/
kernel/ptrace.c
+++ b/
kernel/ptrace.c
@@
-196,7
+196,7
@@
repeat:
/* 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;