ktrcanset
if (!ktrcanset(curl, p))
static int ktrcanset(lwp_t *, struct proc *);
if (!auth || ktrcanset(curl, p))