From owner-freebsd-hackers Tue Aug 8 12:29:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from zeus.superscript.com (zeus.superscript.com [206.234.89.16]) by hub.freebsd.org (Postfix) with SMTP id 2151437B674 for ; Tue, 8 Aug 2000 12:29:48 -0700 (PDT) (envelope-from web@superscript.com) Received: (qmail 21628 invoked by uid 1008); 8 Aug 2000 19:29:23 -0000 Date: Tue, 8 Aug 2000 14:29:23 -0500 From: "William E. Baxter" To: freebsd-hackers@FreeBSD.ORG Subject: Re: getpeereid() syscall patch for FreeBSD 4.0 Message-ID: <20000808142923.A15042@zeus.superscript.com> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <20000808121849.A27414@zeus.superscript.com> <200008081828.LAA75113@netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200008081828.LAA75113@netplex.com.au>; from peter@netplex.com.au on Tue, Aug 08, 2000 at 11:28:16AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Aug 08, 2000 at 11:28:16AM -0700, Peter Wemm wrote: > > Passing only one gid is nearly useless. You should copy them all or not > at all. I would like to see real and effective uid's as well. Completeness certainly has its appeal, but is it necessary? What can you not accomplish without the additional information? > about the case of changing uids? Do you give it the current uid or the uid > at time of connection? SCM_CREDS has the ability for the client to > authenticate at exactly the right time and without ambiguity. I need only connect()-time ID (but cannot wait for the client to provide it) and chose effective uid and gid. If the client changes its ID before or after calling connect(), so be it. If one cares, there is always SCM_CREDS. Regards, W. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message