From owner-cvs-all Wed Aug 25 7:12:44 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id EDFD214F48; Wed, 25 Aug 1999 07:12:40 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: (from marcel@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA94380; Wed, 25 Aug 1999 07:11:01 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Message-Id: <199908251411.HAA94380@freefall.freebsd.org> From: Marcel Moolenaar Date: Wed, 25 Aug 1999 07:11:01 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/linux linux_misc.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk marcel 1999/08/25 07:11:01 PDT Modified files: sys/i386/linux linux_misc.c Log: Fix {g|s}etgroups semantics. We use cr_groups[0] to hold egid. This means that egid will be twice in the set and that setting cr_groups[0] will change egid. This is simply solved by ignoring cr_groups[0]. That is; linux_getgroups does not return cr_groups[0] and linux_setgroups does not touch it. Noticed by: bde Brought to my attention by: sheldonh Revision Changes Path 1.67 +72 -55 src/sys/i386/linux/linux_misc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message