[PATCH] remove duplicated code from proc and ptrace
[linux-2.6-block.git] / include / linux / ptrace.h
index 2afdafb62123c212d0b6366a210078d38760ba81..dc6f3647bfbc01cfcfca8192d631b12d4c9bdd80 100644 (file)
@@ -90,6 +90,7 @@ extern void __ptrace_link(struct task_struct *child,
                          struct task_struct *new_parent);
 extern void __ptrace_unlink(struct task_struct *child);
 extern void ptrace_untrace(struct task_struct *child);
+extern int ptrace_may_attach(struct task_struct *task);
 
 static inline void ptrace_link(struct task_struct *child,
                               struct task_struct *new_parent)