How to access /proc/*/mem ?

From: Frank Peters (frank@zur-boersch.de)
Date: Mon Oct 29 2001 - 07:13:41 EST


Kernel 2.4.10

I do a PTRACE_ATTACH to the process and I can open /proc/*/mem, but I can't
read on the fd.

I need to search for a specific value in the process memory and i wan't do a
lot of
PTRACE_PEEKTEXT!

Can someone point me to the right way?

THX
Frank Peters

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 31 2001 - 21:00:36 EST