On Wed, 9 Apr 2008, Peter Teoh wrote: > Wow...pmap allow u to see the distribution of stuff in the > kernel....as a userspace tool....is that really true? Is it not a > violation of security? Er......I think not...as a non-root user, I > see nothing for maps. as you noticed, unless you're root, you won't get much out of "pmap" (which does little more than display what's already available under /proc/.../maps). in addition, if you think about it, you won't get much information by knowing what the *virtual* addresses are for some other process' VMAs. remember, each process has its own mm struct and its own set of page tables, so knowing someone else's virtual addresses doesn't do you any good unless you also have access to their entire mm infrastructure to see how they're translated. i'm not saying you can't get it, just saying that, until you do, that virtual address info isn't worth much. so it's not really much of a security hole. rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA ======================================================================== -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ