os: Implement getpid() and waitpid().