You have to be ptrace attached to the process before you can read its mem.
PID 1 is not ptrace'able, so /proc/1/mem not very useful at all. Perhaps you
were thinking of /proc/pid/maps?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/