Hi, here is a bug that occurs on my kernel 2.6.31-21, maybe with older ones. If a C program contains a function with the constructor attribute that calls getpid(), then, a call to syscall(SYS_fork) produces a son that obtains the same value calling getpid() or getppid(). Best regards, Sébastien Paumier