From owner-freebsd-stable Sat Nov 18 09:17:31 1995 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA07586 for stable-outgoing; Sat, 18 Nov 1995 09:17:31 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA07579 for ; Sat, 18 Nov 1995 09:17:21 -0800 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id JAA01735; Sat, 18 Nov 1995 09:17:19 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id JAA00667; Sat, 18 Nov 1995 09:13:27 -0800 Message-Id: <199511181713.JAA00667@corbin.Root.COM> To: Nate Williams cc: stable@freebsd.org Subject: Re: NFS crash with 2.1-stable In-reply-to: Your message of "Sat, 18 Nov 95 09:27:42 MST." <199511181627.JAA14224@rocky.sri.MT.net> From: David Greenman Reply-To: davidg@Root.COM Date: Sat, 18 Nov 1995 09:13:27 -0800 Sender: owner-stable@freebsd.org Precedence: bulk >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,