4ecki@calista:~> strace /bin/ls 2>&1 | head -2
execve("/bin/ls", ["/bin/ls"], [/* 45 vars */]) = 0
brk(0) = 0x80548c0
4ecki@calista:~> strace /bin/ls 2>&1 | head -3
execve("/bin/ls", ["/bin/ls"], [/* 45 vars */]) = 0
brk(0) = 0x80548c0
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
4ecki@calista:~> ltrace /bin/ls 2>&1 | head -3
atexit(0x4000adc0) = 0
__libc_init_first(1, 0xbffffb34, 0, 0xbffffb3c, 0xbffffb4b) = 0x4000adc0
atexit(0x080513d0) = 0
I think the first thing which gets run is something like crt.0. But this is
linked hard in the bin.
Greetings
Bernd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/