Remove the "dup2" option from sysdup
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 24 Jul 2015 13:36:46 +0000 (09:36 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 27 Jul 2015 15:53:33 +0000 (11:53 -0400)
commit7cef0e595a4574dd0cee69977d4ecd611db5a15e
treebd7e7ac10133e062a4cf1f7c89106d31fa4a384c
parentc6eff88a181f7bf9defaefb9336e7549c1ea63e3
Remove the "dup2" option from sysdup

The second parameter to sysdup was meant to signal a dup2 style of
operation.  We weren't using it, it wasn't implemented, and we have
dup_to (not dup2!) elsewhere.
kern/include/ns.h
kern/src/ns/sysfile.c
kern/src/syscall.c