9ns: Support setting FD flags (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 6 Apr 2018 19:14:52 +0000 (15:14 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Apr 2018 18:37:05 +0000 (14:37 -0400)
commit8259740817b58544e376cb1743e09416a232ab22
tree0e6d31d6e9e4e34824c824e297c407abe9c66593
parentf3a56f078eb8f2c2d5e9ef7f48e20c7dc9cb3bc4
9ns: Support setting FD flags (XCC)

Similar to back in the VFS code, I'm not entirely happy supporting the
toggling of these flags.  Ideally, we wouldn't even have e.g. FD_CLOEXEC.

Reinstall your kernel headers

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/ns.h
kern/include/ros/fs.h
kern/src/ns/sysfile.c
kern/src/syscall.c