01-18-06 10: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
[ Post a follow-up to this message ]
|