From owner-freebsd-arch Sun Dec 30 18:50:57 2001 Delivered-To: freebsd-arch@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 1AD5E37B41D; Sun, 30 Dec 2001 18:50:56 -0800 (PST) Received: from dialup-209.245.132.248.dial1.sanjose1.level3.net ([209.245.132.248] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16KsXP-0003EM-00; Sun, 30 Dec 2001 18:50:55 -0800 Message-ID: <3C2FD293.DA31AC4D@mindspring.com> Date: Sun, 30 Dec 2001 18:50:59 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Robert Watson Cc: arch@FreeBSD.org Subject: Re: adding cred argument to socreate(), making NFS connect using , mount-time credential References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Robert Watson wrote: > > Attached please find a diff that does the following: > > (1) Makes the credential used by socreate() an explicit argument to > socreate(), rather than getting it implicitly from the thread > argument. This prevents you from running connections to completion at interrupt, in that it assumes that all calls will be down. The correct way to handle this in the "accept at interrupt" case is to simply clone the credential off the listen socket, instead. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message