All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: Hai Huang <haih@engin.umich.edu>
Cc: linux-mm@kvack.org
Subject: Re: dynamic linked libraries
Date: Wed, 14 Aug 2002 20:51:22 -0700	[thread overview]
Message-ID: <3D5B253A.31998AEF@zip.com.au> (raw)
In-Reply-To: Pine.SOL.4.33.0208142303010.18485-100000@violet.engin.umich.edu

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/

      reply	other threads:[~2002-08-15  3:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-15  3:04 dynamic linked libraries Hai Huang
2002-08-15  3:51 ` Andrew Morton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D5B253A.31998AEF@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=haih@engin.umich.edu \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.