NetBSD Problem Report #5

From jtc  Thu Oct  7 14:19:20 1993
Received: from localhost (jtc@localhost) by sun-lamp.cs.berkeley.edu (8.3/8.3) id OAA25504; Thu, 7 Oct 1993 14:19:20 -0700
Message-Id: <199310072119.OAA25504@sun-lamp.cs.berkeley.edu>
Date: Thu, 7 Oct 1993 14:19:20 -0700
From: "J.T. Conklin" <jtc>
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: getgroups/setgroups system call should use gid_t * for gidset type.

>Number:         5
>Category:       kern
>Synopsis:       getgroups/setgroups system call should use gid_t * for gidset type.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 07 14:20:01 +0000 1993
>Closed-Date:    Mon Mar 28 18:56:01 +0000 1994
>Last-Modified:  Thu Oct 31 08:37:44 +0000 2013
>Originator:     
>Release:        0.9
>Organization:
Winning Strategies, Inc.
>Environment:

System: NetBSD sun-lamp.cs.berkeley.edu 0.9a SUN_LAMP#6 i386

>Description:
	POSIX.1 has defined the getgroups() system call such that the 
        gidset argument is type "gid_t *".  I don't think that POSIX
	standardized setgroups(), but other vendors (like Sun, for 
	Solaris2) have changed it to use "gid_t *" too.  

>How-To-Repeat:

>Fix:
>Release-Note:
>Audit-Trail:

Responsible-Changed-From-To: jtc->kern-bug-people
Responsible-Changed-By: jtc
Responsible-Changed-When: Fri Jan 14 14:53:56 1994
Responsible-Changed-Why:
I'm not qualified to fix this.
This bug was erroneously assigned to me when GNATS was being set up.

State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Mon Mar 28 18:56:01 1994
State-Changed-Why:
Fixed by cgd's uid_t, gid_t, and off_t overhaul.

>Unformatted:

 To: gnats-bugs@sun-lamp.cs.berkeley.edu
 Subject: getgroups/setgroups system call should use gid_t * for gidset type.
 From: jtc@sun-lamp.cs.berkeley.edu
 Reply-To: jtc@sun-lamp.cs.berkeley.edu
 X-send-pr-version: 3.01

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.