Date: Sun, 30 Dec 2001 18:50:59 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Robert Watson <rwatson@FreeBSD.org> Cc: arch@FreeBSD.org Subject: Re: adding cred argument to socreate(), making NFS connect using , mount-time credential Message-ID: <3C2FD293.DA31AC4D@mindspring.com> References: <Pine.NEB.3.96L.1011229101514.84600D-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C2FD293.DA31AC4D>