Hi... On Sun, Jul 15, 2012 at 9:28 AM, 王哲 <wangzhe5004@xxxxxxxxx> wrote: > and the second program: > > #include <stdio.h> > #include <unistd.h> > > int main(void) > { > unsigned long value = 0; > value = getpid(); > return 0; > } > > and disassembling it:( objdump -d a.out) > ... > 08048300 <getpid@plt>: > 8048300: ff 25 00 a0 04 08 jmp *0x804a000 > 8048306: 68 00 00 00 00 push $0x0 > 804830b: e9 e0 ff ff ff jmp 80482f0 <_init+0x3c> Looks like jumping into vsyscall page to me... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies