Subject: Re: curproc removal (NFS, ...)
To: None <jonathan@dsg.stanford.edu>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 06/05/2004 15:11:25
> Several of the callers which pass soreceive a struct mbuf ** don't
> even set the uio_segflag. Heck, before the changes I commited last
> month, there was at least one call where the values of both
> uio_segflag and uio_procp passing were uninitalized garbage from prior
> on-stack contents.
> 
> I guess the cleanest way to fix this is to add a new UIO segflag,
> UIO_NONE, meaning that only uio_resid is valid; and also uio_procp, if
> its value is non-NULL, but a NULL value is allowed).  Do you buy that?

in that case, for what do you use uio_procp?
internalize/externalize things only make sense for UIO_USERSPACE, i think.

YAMAMOTO Takashi