Fork and exec handle files better
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 6 Aug 2010 06:18:43 +0000 (23:18 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:50 +0000 (17:35 -0700)
commit30b5d194c786c11e88df00c7f73b35d28f39328a
tree63a2cfbff8cef08542c05ae8bb3c9d5935dcd665
parent35fdf836122bc3acc44d819adc0bc641417ad287
Fork and exec handle files better

A fork-created process has the same files as its parent, and exec'd
process will close all of its O_CLOEXEC files.  Not tested much.
kern/include/vfs.h
kern/src/manager.c
kern/src/process.c
kern/src/syscall.c
kern/src/vfs.c