View | Details | Raw Unified | Return to bug 25932
Collapse All | Expand All

(-)kern_proc.c Tue Mar 20 08:22:57 2001 (-2 / +2 lines)
Lines 157-166 Link Here
157
        */
157
        */
158
       KASSERT(p->p_pid == pgid,
158
       KASSERT(p->p_pid == pgid,
159
           ("enterpgrp: new pgrp and pid != pgid"));
159
           ("enterpgrp: new pgrp and pid != pgid"));
160
       MALLOC(pgrp, struct pgrp *, sizeof(struct pgrp), M_PGRP,
161
           M_WAITOK);
162
       if ((np = pfind(savepid)) == NULL || np != p)
160
       if ((np = pfind(savepid)) == NULL || np != p)
163
           return (ESRCH);
161
           return (ESRCH);
162
       MALLOC(pgrp, struct pgrp *, sizeof(struct pgrp), M_PGRP,
163
           M_WAITOK);
164
       if (mksess) {
164
       if (mksess) {
165
           register struct session *sess;
165
           register struct session *sess;

Return to bug 25932