Thread (2 messages) 2 messages, 2 authors, 2002-08-15

Re: dynamic linked libraries

From: Andrew Morton <hidden>
Date: 2002-08-15 03:51:22

Hai Huang wrote:
Is there anyway to spot whether a vm_area_struct is used to map a dynamic
linked library somehow?
Don't think so.  If it has a vm_file, and the protection bits
are right then there's a good chance.

If it's just for debug/devel code and doesn't have to be 100% accurate
then you could perhaps also go fishing inside vm_file->f_dentry->d_name
for the substring ".so".
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help