restrict reading from /proc/<pid>/maps to those who share ->mm or can ptrace pid