Date: Sat, 18 Nov 1995 09:13:27 -0800 From: David Greenman <davidg@Root.COM> To: Nate Williams <nate@rocky.sri.mt.net> Cc: stable@freebsd.org Subject: Re: NFS crash with 2.1-stable Message-ID: <199511181713.JAA00667@corbin.Root.COM> In-Reply-To: Your message of "Sat, 18 Nov 95 09:27:42 MST." <199511181627.JAA14224@rocky.sri.MT.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>I was beating the snot out of my new pentium box building a distribution >when it crashed in the middle of the night. ... >panic: nfsreq nogrps ... >I've got the crash dump if it would help. Not necessary. Something running as root did a setgroups(0,foo). Do you have an NFS mounted mailbox and are are running Smail? If so, update Smail to the current ports version and install the attached patch. -DG Index: kern_prot.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_prot.c,v retrieving revision 1.13 retrieving revision 1.14 diff -c -r1.13 -r1.14 *** 1.13 1995/10/08 00:06:07 --- 1.14 1995/11/04 10:50:55 *************** *** 407,413 **** if ((error = suser(pc->pc_ucred, &p->p_acflag))) return (error); ! if ((ngrp = uap->gidsetsize) > NGROUPS) return (EINVAL); pc->pc_ucred = crcopy(pc->pc_ucred); if ((error = copyin((caddr_t)uap->gidset, --- 407,414 ---- if ((error = suser(pc->pc_ucred, &p->p_acflag))) return (error); ! ngrp = uap->gidsetsize; ! if (ngrp < 1 || ngrp > NGROUPS) return (EINVAL); pc->pc_ucred = crcopy(pc->pc_ucred); if ((error = copyin((caddr_t)uap->gidset,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511181713.JAA00667>