From: phil-news-nospam on
On Mon, 31 Aug 2009 16:20:59 -0700 (PDT) David Schwartz <davids(a)webmaster.com> wrote:
| On Aug 31, 3:58�pm, phil-news-nos...(a)ipal.net wrote:
|
|> But if pages that libc would need, in the child, are unmapped, then I've
|> just broken libc. �Those are pages I need to avoid unmapping. �Clearly
|> this is a non-trivial determination.
|
| Why? You're not going to use libc. Libc is not going to magically
| start running itself.

Ever heard of syscall stubs?

| I thought the whole premise was that your code had completely taken
| over and no existing code was ever going to run again. If that's not
| the premise, then this entire exercise is misguided.

The existing code of the application. My code can still use a library.

--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------