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.

I will sort it out in the near future though as it's ultimately a
namei issue.

 > Change needed for zfs device node creation, until we have propoer devfs.

Do device nodes really need to be created from inside the kernel? Bleh. :(

-- 
David A. Holland
dholl...@netbsd.org

Reply via email to