Print this page
XXXX adding PID information to netstat output

*** 1187,1197 **** /* * copy the parent's uarea. */ uarea = PTOU(cp); bcopy(PTOU(pp), uarea, sizeof (*uarea)); ! flist_fork(P_FINFO(pp), P_FINFO(cp)); gethrestime(&uarea->u_start); uarea->u_ticks = ddi_get_lbolt(); uarea->u_mem = rm_asrss(pp->p_as); uarea->u_acflag = AFORK; --- 1187,1197 ---- /* * copy the parent's uarea. */ uarea = PTOU(cp); bcopy(PTOU(pp), uarea, sizeof (*uarea)); ! flist_fork(pp, cp); gethrestime(&uarea->u_start); uarea->u_ticks = ddi_get_lbolt(); uarea->u_mem = rm_asrss(pp->p_as); uarea->u_acflag = AFORK;