Hello,
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 argument for??
Edit: Using ltrace version 0.5. and kernel 2.6.24-24-generic
thanks