/* * Prepare report on state of foreground process group. * Call with proc_lock held. */