Adds sys_mkdir() and sys_rmdir() (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 21 Aug 2010 01:09:25 +0000 (18:09 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:52 +0000 (17:35 -0700)
commit70269f9c3df8282c4f410caff04534078a718956
tree633d2cd751f2429ce1e61c8dde89c335bdf30926
parentf49d0da3692b09f01acc68299b80d7ec88f77e5d
Adds sys_mkdir() and sys_rmdir() (XCC)

Rebuild your cross-compiler.

Adds mkdir and rmdir, and has children incref their parent dir's nlink
count.  There are races with the nlink, and in general with concurrent
operations on the paths and objects.

Also unifies error handling styles in many of the do_whatever VFS
functions.
Documentation/vfs.txt
kern/include/ros/bits/syscall.h
kern/include/vfs.h
kern/src/kfs.c
kern/src/syscall.c
kern/src/vfs.c
tests/file_test.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/mkdir.c [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/rmdir.c [new file with mode: 0644]