Unix Programming - excec( ) implementation basics [are ELFs mmap-ed to Process Address space?]

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > January 2006 > excec( ) implementation basics [are ELFs mmap-ed to Process Address space?]





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author excec( ) implementation basics [are ELFs mmap-ed to Process Address space?]
50295@web.de

2006-01-18, 5:55 pm

Hi -

I've been stracing loads of stuff lately, trying to and I'm wondering
how mmap actually words/is implemented on *NIX systems. I suspect
mmaping the executable (elf binary) to the process' address space would
be a good idea. Is this how mmap is implemented? I know shared
libraries are are implemented with mmap (and quite possibly shared
memory i.e. shmget etc), but I'm not sure how exec() is implemented.
Hints anyone?

Please dont ask me to take a look at the source. I have, but it made my
head spin.

Thanks,

- Olumide

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com