* lib/linux/gnu.c (getppid): New function. * include/linux/x86/syscall.h (SYS_getppid): New macro. * include/linux/x86_64/syscall.h (SYS_getppid): New macro.