File mode stored in i_mode
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 24 Aug 2010 04:55:42 +0000 (21:55 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:52 +0000 (17:35 -0700)
commit60ecd255e3d09b546dcd7fac761a9848298479a1
treeb89c02d808d166a1c30090adabb89db31d78ae77
parent83019933157a64a7de0895542b1bb7c477129110
File mode stored in i_mode

This is what stat and glibc expect, so we do it in the kernel now,
instead of mucking with i_type.  The use of the macros makes this much
nicer anyways.
kern/include/ros/fs.h
kern/include/vfs.h
kern/src/devfs.c
kern/src/kfs.c
kern/src/syscall.c
kern/src/vfs.c