I did an strace on the "ls" command in FC17 Linux.
Following was the output.
execve("/usr/bin/ls", ["ls"], [/* 48 vars */]) = 0
brk(0) = 0x27c1000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc765fa6000
...
I am not getting the purpose and result of passing -1 as the file descriptor to the mmap call, can some one shed some light on this ?