restrict reading from /proc/<pid>/maps to those who share ->mm or can ptrace pid
[linux-2.6.git] / fs / proc / internal.h
index 1820eb2..05b3e90 100644 (file)
@@ -27,6 +27,8 @@ struct vmalloc_info {
        unsigned long   largest_chunk;
 };
 
+extern struct mm_struct *mm_for_maps(struct task_struct *);
+
 #ifdef CONFIG_MMU
 #define VMALLOC_TOTAL (VMALLOC_END - VMALLOC_START)
 extern void get_vmalloc_info(struct vmalloc_info *vmi);