From owner-cvs-all Thu Oct 11 16:46:15 2001 Delivered-To: cvs-all@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id CF35437B406; Thu, 11 Oct 2001 16:46:09 -0700 (PDT) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id f9BNk2B60049; Thu, 11 Oct 2001 19:46:03 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Thu, 11 Oct 2001 19:46:02 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: John Baldwin Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: RE: cvs commit: src/sys/coda coda_namecache.c src/sys/dev/md md. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Great work, I'm really happy to see this go in! Time to go update my various local dev trees for the change. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Thu, 11 Oct 2001, John Baldwin wrote: > > On 11-Oct-01 John Baldwin wrote: > > jhb 2001/10/11 16:38:17 PDT > > > > Modified files: > > sys/coda coda_namecache.c > > sys/dev/md md.c > > sys/fs/specfs spec_vnops.c > > sys/fs/unionfs union_vfsops.c > > sys/kern kern_descrip.c kern_fork.c kern_prot.c > > uipc_socket.c uipc_socket2.c vfs_bio.c > > vfs_cluster.c > > sys/netncp ncp_conn.c > > sys/nfsclient nfs_bio.c nfs_vnops.c > > sys/sys ucred.h > > sys/ufs/ufs ufs_extattr.c ufs_quota.c > > sys/vm swap_pager.c vnode_pager.c > > Log: > > Change the kernel's ucred API as follows: > > - crhold() returns a reference to the ucred whose refcount it bumps. > > - crcopy() now simply copies the credentials from one credential to > > another and has no return value. > > - a new crshared() primitive is added which returns true if a ucred's > > refcount is > 1 and false (0) otherwise. > > Oops, forgot to add: > > Reviwed by: peter, jake > Discussed on: -arch > > -- > > John Baldwin -- http://www.FreeBSD.org/~jhb/ > PGP Key: http://www.baldwin.cx/~john/pgpkey.asc > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message