Fixes mkdir
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 29 Jan 2014 23:45:16 +0000 (15:45 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 29 Jan 2014 23:45:16 +0000 (15:45 -0800)
commit0a210c08b5eb61efb90d8258cd5aaaf4e0a7e077
tree221bd312bd06e5923137eaff1360db5d4b82284c
parentebcb597e40103c874495dd5d84ef13f4c632da3b
Fixes mkdir

I think.  We should be passing DMDIR in the perms argument.  Also, this
tries to catch issues with nasty "mode"/permissions from userspace.
kern/src/syscall.c