restrict reading from /proc/<pid>/maps to those who share ->mm or can ptrace pid
[deliverable/linux.git] / include / linux / ptrace.h
index ae8146abd7463b694f0690353a13545c840890fd..3ea5750a0f7e2ac74c1c90e1aecd4910b7a74bc7 100644 (file)
@@ -97,6 +97,7 @@ extern void __ptrace_link(struct task_struct *child,
 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);
+extern int __ptrace_may_attach(struct task_struct *task);
 
 static inline void ptrace_link(struct task_struct *child,
                               struct task_struct *new_parent)
This page took 0.026401 seconds and 5 git commands to generate.