Messages in this thread | | | Date | Fri, 31 Oct 1997 00:13:14 +0100 | From | Philipp Reisner <> | Subject | How can I read from /proc/xx/mem? |
| |
Hi,
I want to compare the VM seen by two processes, and I assumed I can do this by : 1) creating two child processes 2) opening their /proc/xx/mem 'file' 3) seeking to ELF_START_MMAP + 0x48000 4) read & compare But I always get ESRCH (=No such process).
I even tried to patch /fs/proc/mem.c, I removed Line 69 to 74 (2.0.31) but still, it is not working
Thank you for any hints ---------------------------------------------------------------------- Philipp Reisner E-Mail mailto:e9525415@student.tuwien.ac.at
| |