ktrcanset
if (ktrcanset(p, pr))
if (!ktrcanset(curp, pr))
int ktrcanset(struct proc *, struct process *);