From owner-cvs-all Tue Feb 26 21: 2:26 2002 Delivered-To: cvs-all@freebsd.org Received: from bazooka.trit.org (bazooka.trit.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 5E8A437B400; Tue, 26 Feb 2002 21:02:23 -0800 (PST) Received: by bazooka.trit.org (Postfix, from userid 1000) id E682D3E31; Wed, 27 Feb 2002 05:02:22 +0000 (UTC) Received: from bazooka (localhost [127.0.0.1]) by bazooka.trit.org (Postfix) with ESMTP id E53113C12E; Wed, 27 Feb 2002 05:02:22 +0000 (UTC) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Cc: rwatson@freebsd.org Subject: Re: cvs commit: src/lib/libc/gen getpeereid.3 getpeereid.c src/sbin/mountd mountd.c src/sys/kern kern_prot.c uipc_usrreq.c src/sys/netinet tcp_subr.c udp_usrreq.c src/sys/netinet6 udp6_usrreq.c src/sys/security/lomac kernel_socket.c src/sys/sys ... In-Reply-To: <200202270445.g1R4jbv29875@freefall.freebsd.org>; from dd@FreeBSD.org on "Tue, 26 Feb 2002 20:45:37 -0800 (PST)" Date: Wed, 27 Feb 2002 05:02:17 +0000 From: Dima Dorfman Message-Id: <20020227050222.E682D3E31@bazooka.trit.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I wrote: > Log: > Introduce a version field to `struct xucred' in place of one of the > spares (the size of the field was changed from u_short to u_int to > reflect what it really ends up being). Accordingly, change users of > xucred to set and check this field as appropriate. In the kernel, > this is being done inside the new cru2x() routine which takes a > `struct ucred' and fills out a `struct xucred' according to the > former. This also has the pleasant sideaffect of removing some > duplicate code. I plan to MFC the infrastructural parts of this (the definition of `struct xucred' and cru2x()) in about a week. If anybody has doubts about whether this is what we want set in stone (read: -stable), please speak up sooner rather than later. Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message