Clean up usage of fcntl flags (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 10 Sep 2015 18:22:23 +0000 (14:22 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Sep 2015 19:14:00 +0000 (15:14 -0400)
commitd901eec3ef9990b94213ad5ede26eb649e90dd8d
tree4c1e2524d58a5e3c1b001a6509e6fe76485ac918
parent6318eacd027d48703fb169996cc480eba98e7cd3
Clean up usage of fcntl flags (XCC)

The usage of O_FCNTL_FLAGS wasn't clear, nor was the distinction between
those flags (now with 'set' in the name) and the CEXTERNAL_FLAGS.  This
area needs a bit of work, especially since many of those flags aren't
supported.  Also, it's a little weird that 9ns tracks CLOEXEC on the
chan, instead of the FD, as was previously noted.

A kernel header changed, though it shouldn't affect anyone.
kern/include/ns.h
kern/include/ros/fs.h
kern/include/vfs.h
kern/src/syscall.c