X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fptrace.h;h=dc6f3647bfbc01cfcfca8192d631b12d4c9bdd80;hb=0481990b758628e12f4b0a9e15094e70cefc7cd1;hp=2afdafb62123c212d0b6366a210078d38760ba81;hpb=da1f136c26d45c57e8b2d711bf17a6e5ec4de2d1;p=linux-2.6 diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index 2afdafb621..dc6f3647bf 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h @@ -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)