From owner-cvs-sys Tue Jun 24 18:03:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA18687 for cvs-sys-outgoing; Tue, 24 Jun 1997 18:03:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA18633; Tue, 24 Jun 1997 18:02:25 -0700 (PDT) From: Sean Eric Fagan Received: (from sef@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA16810; Tue, 24 Jun 1997 18:01:23 -0700 (PDT) Date: Tue, 24 Jun 1997 18:01:23 -0700 (PDT) Message-Id: <199706250101.SAA16810@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/ibcs2 ibcs2_misc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sef 1997/06/24 18:01:23 PDT Modified files: sys/i386/ibcs2 ibcs2_misc.c Log: Do The Right Thing when an iBCS2 program does getgroups(0, whatever) -- we were returning EFAULT, when it is a completely acceptable thing to do. Also, at the same time, be a *bit* optimizing and don't allocate any "stackgrap" memory if we're not going to use it. This is another Oracle-discovered problem. Submitted by: Steven Wallace Revision Changes Path 1.21 +6 -2 src/sys/i386/ibcs2/ibcs2_misc.c