From owner-freebsd-hackers Wed Sep 17 12:12:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA03254 for hackers-outgoing; Wed, 17 Sep 1997 12:12:58 -0700 (PDT) Received: from usr02.primenet.com (tlambert@usr02.primenet.com [206.165.6.202]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA03240 for ; Wed, 17 Sep 1997 12:12:54 -0700 (PDT) Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id MAA06140; Wed, 17 Sep 1997 12:12:51 -0700 (MST) From: Terry Lambert Message-Id: <199709171912.MAA06140@usr02.primenet.com> Subject: Re: Fast Encryption (in kernel) seeked To: Shimon@i-Connect.Net (Simon Shapiro) Date: Wed, 17 Sep 1997 19:12:50 +0000 (GMT) Cc: julian@whistle.com, FreeBSD-Hackers@FreeBSD.ORG In-Reply-To: from "Simon Shapiro" at Sep 16, 97 01:06:56 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > can you guarentee that each pointer given out will be 'returned'? > > Not at all. I can guarantee that until it is returned, the pointer will be > dormant. > > > will it be returned only once? > > Yup. > > > what if a process dies while owning a pointer? > > Then eventually the pointer goes away. > > > when does the buffer become free? > > very soon after the pointer comes back home. This is what he was asking, really: is there a 1:1 correspondance between cookies returned and cookied given out. The answer seems to be "yes". > I want to guarantee that the cookie the kernel requestor sleeps on is > unique within the kernel address space and genuine. To do so, I need to: > > a. Validate that it is genuine. See previous posting. > b. Find, QUICKLY, the original bucket that holds the request; this is > where the request and all its atndant pieces are. Use a hash. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.