Allow a parent to set up a child's fd's via a new system call
authorRonald G. Minnich <rminnich@gmail.com>
Tue, 19 Aug 2014 17:15:29 +0000 (17:15 +0000)
committerRonald G. Minnich <rminnich@gmail.com>
Tue, 19 Aug 2014 17:15:29 +0000 (17:15 +0000)
commitbd8e312ee118961414a857ea6a6e46d3e0c822c6
tree52f550d4f9aaf9f94c60db8d3a0e2578fdaae5ce
parentbaa9c0bbdda5ee455e8d8c42796ce3e1114619fd
Allow a parent to set up a child's fd's via a new system call

Needed for Go. The parent sets up an array of
childfdmap
structs, with parent and childfds, then calls system call 65536,
which we might want to consider naming ;-)

Not working.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
kern/include/ros/syscall.h
kern/include/vfs.h
kern/src/ns/sysfile.c
kern/src/process.c
kern/src/syscall.c
kern/src/vfs.c
tests/childfdmap.c [new file with mode: 0644]