Re: dynamic linked libraries
From: Andrew Morton <hidden>
Date: 2002-08-15 03:51:22
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/