ktrcanset
if (ktrcanset(td, p)) {
if (!ktrcanset(td, p)) {
static int ktrcanset(struct thread *,struct proc *);