Date: Sun, 20 Jan 2002 18:29:21 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Archie Cobbs <archie@dellroad.org> Cc: freebsd-net@FreeBSD.ORG Subject: Re: netgraph: how to setsockopt on ksocket node ? Message-ID: <200201202329.g0KNTLO33136@khavrinen.lcs.mit.edu> In-Reply-To: <200201202308.g0KN8uc09321@arch20m.dellroad.org> References: <135740000.1011562445@blues.viagenie.qc.ca> <200201202308.g0KN8uc09321@arch20m.dellroad.org>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sun, 20 Jan 2002 15:08:56 -0800 (PST), Archie Cobbs <archie@dellroad.org> said: > But it's interesting the soalloc() is called with 'p != 0' > as an argument. p is never 0 or else you would have already > panic'd... you'd panic later on, too, referencing 'p->p_ucred'. All of the credential frobbing stuff was added much later. At the time I wrote that `p != 0', it was definitely possible for socreate() to be called from interrupt context, and thus without any idea of a `current process'. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201202329.g0KNTLO33136>