According to the Linux man page for mprotect the function has 3 arguments:
int mprotect(const void *addr, size_t len, int prot);
but while running ltrace on a program that I'm analyzing I see that mprotect is called like this:
mprotect(0x8049000, 4096, 3, 1, 0xb7e057ac) = 0
What are the 4th and 5th arguments for?
I'm using ltrace version 0.5. and kernel 2.6.24-24-generic