kern_pdgetpid
error = kern_pdgetpid(td, uap->fd, &cap_pdgetpid_rights, &pid);
int kern_pdgetpid(struct thread *, int fd, const cap_rights_t *,