From owner-cvs-all Thu Oct 11 16:40:39 2001 Delivered-To: cvs-all@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 2A3A937B409 for ; Thu, 11 Oct 2001 16:40:30 -0700 (PDT) Received: (qmail 31678 invoked from network); 11 Oct 2001 23:40:28 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 11 Oct 2001 23:40:28 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200110112338.f9BNcIT50839@freefall.freebsd.org> Date: Thu, 11 Oct 2001 16:39:52 -0700 (PDT) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/coda coda_namecache.c src/sys/dev/md md. Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.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 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