Date: Wed, 01 Jan 1997 17:34:53 -0800 From: David Greenman <dg@root.com> To: Julian Assange <proff@iq.org> Cc: hackers@freebsd.org Subject: Re: struct file locking Message-ID: <199701020134.RAA13418@root.com> In-Reply-To: Your message of "Thu, 02 Jan 1997 09:24:38 %2B1100." <199701012224.JAA06593@profane.iq.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>In the socket structure I intend to create a back-pointer to >originating struct file's->u_cred. What do I need to do to insure >these last two structures are reliably locked and in memory? See crhold() in sys/ucred.h and crfree() in sys/kern/kern_prot.c. They manage the cr_ref reference count. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701020134.RAA13418>