Date: Tue, 21 Jan 1997 13:48:11 +1100 From: davidn@unique.usn.blaze.net.au (David Nugent) To: davidn@unique.usn.blaze.net.au (David Nugent) Cc: freebsd-bugs@freefall.freebsd.org Subject: Re: kern/2535: filesize-cur resource limit reset to "infinity" Message-ID: <Mutt.19970121134811.davidn@labs.blaze.net.au> In-Reply-To: <199701210200.SAA19691@freefall.freebsd.org>; from David Nugent on Jan 20, 1997 18:00:02 -0800 References: <199701210200.SAA19691@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
David Nugent writes: > Is this patch the correct fix? > > --- kern_exit.c.orig Wed Jan 15 14:55:26 1997 > +++ kern_exit.c Tue Jan 21 12:48:57 1997 > @@ -222,6 +222,10 @@ > sp->s_leader = NULL; > } > fixjobc(p, p->p_pgrp, 0); > + if (p->p_limit->p_refcnt > 1 && p->p_limit->p_lflags & PL_SHAREMOD) { Whoops. That should of course be: > + if (p->p_limit->p_refcnt > 1 && (p->p_limit->p_lflags & PL_SHAREMOD) == 0) { Regards, David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970121134811.davidn>