/proc/(pid)/mem status and future, or alternatives?

From: Steven Brown (swbrown@ucsd.edu)
Date: Fri Oct 27 2000 - 05:46:09 EST


Hi, I had noticed that the mmapping facilities of /proc/(pid)/mem have been
removed in recent devel kernels as well as in the 2.4 test series. I assume
that since it is missing in the test series, that it is to be missing in
2.4.0 final as well. I poked around on the list archives and found mention
of its demise, but couldn't find any indication as to if it was a permanent
removal or if it was just temporary while issues were sorted out, or to
alternatives to use for the same functionality. Is there another way to get
access to another process's memory space in bulk? I need to do a full search
on an arbitrary process's memory space. I've been using
ptrace(PTRACE_PEEKDATA, ..) in the absense of the ability to mmap the
process's memory but doing so takes a few million system calls per search
which is prohibitively expensive.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:20 EST