native: internal getpid syscall