On Mon, Aug 10, 2009 at 03:44:38PM +0000, David Holland wrote: > On Sun, Aug 09, 2009 at 10:49:01PM +0000, Adam Hamsik wrote: > > Log Message: > > Add enum uio_seg argument to do_sys_mknod and do_sys_mkdir so these > > functions can be called from kernel, too. > > This is the wrong approach: in the user case, copyinstr should happen > before getting to these functions.
(Well, actually there should be two sets of functions; see what I just posted on tech-kern.) -- David A. Holland dholl...@netbsd.org