Re: a question about system call's return address...
- From: Alan Camus <albcamus@xxxxxxxxxx>
- Date: Tue, 25 Apr 2006 15:21:39 +0000
This makes me think there is no caller for that system call. So,
the second question is "how does mmap2 get called any way if there is
I think mmap2 is always called by the `dynamic linker'(also known as
loader), which is /lib/ld-linux.so.2 at Linux. It calls mmap2 to load
all the shared libraries needed by your program.