task_attach
task_attach(task0p, cp);
task_attach(pp->p_task, cp);
task_attach(tk, p);
extern void task_attach(task_t *, struct proc *);